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 S1000D 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 S1000D IETP
-
Set the value of the
externalPubCodeorpubcodechild element to a valid LiveContent book name as defined in the collection's wietmsd.xml file as in the following examples.- In an Issue 4.0 or later DM or PM:
<externalPubCode>S1000D_4_0_Bike</externalPubCode> - In an Issue 3.0 or earlier DM or PM:
<pubcode>S1000D_3_0_Bike</pubcode>
- In an Issue 4.0 or later DM or PM:
- To link to a DM in another LiveContent S1000D IETP
-
Do the following.
- Set the value of the
externalPubCodeorpubcodechild element to a valid LiveContent S1000D book name as defined in the collection's wietmsd.xml file as in the following examples.- In an Issue 4.0 or later DM or PM:
<externalPubCode>S1000D_4_0_Bike</externalPubCode> - In an Issue 3.0 or earlier DM or PM:
<pubcode>S1000D_3_0_Bike</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