preprocess-mapref.dita 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <concept id="preprocess-mapref" xml:lang="en-US">
  5. <title>Resolve map references (mapref)</title>
  6. <shortdesc>The <codeph>mapref</codeph> step resolves references from one DITA map to another. This step is implemented
  7. in XSLT.</shortdesc>
  8. <prolog>
  9. <metadata>
  10. <keywords>
  11. <indexterm><xmlelement>map</xmlelement></indexterm>
  12. <indexterm>preprocessing<indexterm><codeph>mapref</codeph></indexterm></indexterm>
  13. <indexterm><codeph>mapref</codeph></indexterm>
  14. <indexterm>XSLT<indexterm><codeph>mapref</codeph> preprocessing step</indexterm></indexterm>
  15. <indexterm>relationship tables<indexterm><codeph>mapref</codeph> preprocessing step</indexterm></indexterm>
  16. </keywords>
  17. </metadata>
  18. </prolog>
  19. <conbody>
  20. <section>
  21. <p>Maps reference other maps by using the following sorts of markup:
  22. <codeblock outputclass="language-xml">&lt;topicref href="other.ditamap" format="ditamap"/>
  23. ...
  24. &lt;mapref href="other.ditamap"/></codeblock></p>
  25. <p>As a result of the mapref step, the element that references another map is replaced by the topic references
  26. from the other map. Relationship tables are pulled into the referencing map as a child of the root element
  27. (<xmlelement>map</xmlelement> or a specialization of <xmlelement>map</xmlelement>). </p>
  28. </section>
  29. </conbody>
  30. </concept>