This is working fine, but now we want to add content from a conref source, but not getting the output we want.
We modified this file (/DITA_OT1.7.5/xsl/map2htmtoc/map2mtmtocimpl.xsl) by adding this code:
Code: Select all
<xsl:template name="generateBookMeta">
<mainbooktitle>
<xsl:value-of select="//*[contains(@class,' bookmap/mainbooktitle ')]"/>
</mainbooktitle><xsl:value-of select="$newline"/>
<booktitlealt>
<xsl:value-of select="//*[contains(@class,' bookmap/booktitlealt ')]"/>
</booktitlealt><xsl:value-of select="$newline"/>
<booklibrary>
<xsl:value-of select="//*[contains(@class,' bookmap/booklibrary ')]"/>
</booklibrary><xsl:value-of select="$newline"/>
<bookpartno>
<xsl:value-of select="//*[contains(@class,' bookmap/bookpartno ')]"/>
</bookpartno><xsl:value-of select="$newline"/>
<revision>
<xsl:value-of select="//*[contains(@class,' bookmap/revisionid ')]"/>
</revision><xsl:value-of select="$newline"/>
<month>
<xsl:value-of select="//*[contains(@class,' bookmap/month ')]"/>
</month><xsl:value-of select="$newline"/>
<year>
<xsl:value-of select="//*[contains(@class,' bookmap/year ')]"/>
</year><xsl:value-of select="$newline"/>
<trademarklist>
<xsl:value-of select="//*[contains(@class,' bookmap/trademarklist ')]"/>
</trademarklist><xsl:value-of select="$newline"/>
</xsl:template>
The final entry is for a list of trademarks and points to a conref source.
The output we are getting is the title twice, then all of the other bookmetadata.
The trademark list is in the frontmatter section.
Any ideas on how to pull in the actual content from the conref source?
Thanks
Bob