Create variables that pull in map metadata for use in headers and footers
Before you get started with this exercise, be sure you’ve read DITA element classes.
Let’s look at how to pull metadata from a map and put it into a variable.
This file contains, among other things, variables that you can use throughout the PDF generation process. These variables are defined at the beginning of the build process so they are available the whole way through.
<xsl:variable name="relatedTopicrefs" select="//*[contains(@class, ' map/reltable ')] ¶//*[contains(@class, ' map/topicref ')]"/>
This is where all the default variable definitions end. You’ll add all ...