Types of external links
Authors using the S1000D standard can use the xlink attribute of the referencing element to create a link to an object outside the current LiveContent Central IETM.
- To link to an external document
-
Add an
xlink:hrefattribute to theexternalPubRef,reftp, orrefextpelement and set its value to the stringURN:ICN:followed by the name of a file in the figures folder as in the following examples.- In an Issue 4.0 or later DM or PM:
<externalPubRef xlink:href="URN:ICN:test.pdf"> - In an Issue 3.0 or earlier DM:
<reftp xlink:href="URN:ICN:test.pdf"> - In an Issue 3.0 or earlier PM:
<refextp xlink:href="URN:ICN:test.pdf">
- In an Issue 4.0 or later DM or PM:
- To link to an external Web site
-
Add an
xlink:hrefattribute to theexternalPubRef,reftp, orrefextpelement and set its value to the stringURN:HTTP:followed by a valid Web site address as in the following examples.- In an Issue 4.0 or later DM or PM:
<externalPubRef xlink:href="URN:HTTP:http://www.sdl.com"> - In an Issue 3.0 or earlier DM:
<reftp xlink:href="URN:HTTP:http://www.sdl.com"> - In an Issue 3.0 or earlier PM:
<refextp xlink:href="URN:HTTP:http://www.sdl.com">
- In an Issue 4.0 or later DM or PM:
- To link to the table of contents of another LiveContent Central IETP
-
Set the value of the
externalPubCodeorpubcodechild element to a valid c_collectionName_publicationName following the pattern requirements described below.The values for theexternalPubCodeorpubcodemust follow the pattern c_collectionName_publicationName.For example: In the publication_s1000d.xml file, if the bookName was S1000d_bike_40 and the collectionName was bike40, the value for
externalPubCodewould then be c_bike40_s1000d_bike_40.- In an Issue 4.0 or later DM or PM:
<externalPubCode>c_bike40_s1000d_bike_40</externalPubCode> - In an Issue 3.0 or earlier DM or PM:
<pubcode>c_bike40_s1000d_bike_40</pubcode>
- In an Issue 4.0 or later DM or PM:
- To link to a DM in another LiveContent Central IETP
-
Do the following.
- Set the value of the
externalPubCodeorpubcodechild element to a valid c_collectionName_publicationName following the pattern requirements described below.The values for theexternalPubCodeorpubcodemust follow the pattern c_collectionName_publicationName.For example: In the publication_s1000d.xml file, if the bookName was S1000d_bike_40 and the collectionName was bike40, the value for
externalPubCodewould then be c_bike40_s1000d_bike_40.- In an Issue 4.0 or later DM or PM:
<externalPubCode>c_bike40_s1000d_bike_40</externalPubCode> - In an Issue 3.0 or earlier DM or PM:
<pubcode>c_bike40_s1000d_bike_40</pubcode>
- In an Issue 4.0 or later DM or PM:
- Add an attribute
xlink:hrefto theexternalPubRef,reftp,refextpor element and set its value to the stringURN:S1000D:followed by a valid file DMC as in the following examples.- In an Issue 4.0 or later DM or PM:
<externalPubRef xlink:href="URN:S1000D:DMC-S1000DBIKE-AAA-D00-00-00-0000-042AA"> - In an Issue 3.0 or earlier DM:
<reftp xlink:href="URN:S1000D:DMC-S1000DBIKE-AAA-D00-00-00-0000-042AA"> - In an Issue 3.0 or earlier PM:
<refextp xlink:href="URN:S1000D:DMC-S1000DBIKE-AAA-D00-00-00-0000-042AA">
- In an Issue 4.0 or later DM or PM:
- Set the value of the