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:href attribute to the externalPubRef, reftp, or refextp element and set its value to the string URN: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">
To link to an external Web site
Add an xlink:href attribute to the externalPubRef, reftp, or refextp element and set its value to the string URN: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">
To link to the table of contents of another LiveContent Central IETP
Set the value of the externalPubCode or pubcode child element to a valid c_collectionName_publicationName following the pattern requirements described below.
The values for the externalPubCode or pubcode must 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 externalPubCode would 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>
To link to a DM in another LiveContent Central IETP
Do the following.
  1. Set the value of the externalPubCode or pubcode child element to a valid c_collectionName_publicationName following the pattern requirements described below.
    The values for the externalPubCode or pubcode must 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 externalPubCode would 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>
  2. Add an attribute xlink:href to the externalPubRef, reftp, refextp or element and set its value to the string URN: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">