resourceid in single HTML topic
Posted: Fri Jan 15, 2021 11:39 pm
Hello,
I am generating a single HTML file with all of my topics from my ditamap compiled using the DITA Map XHTML transform and a chunk to-content attribute on my starting <map> element.
Each topic in the ditamap has a resourceid set:
Is there any way I could get that <resourceid> metadata to appear as an attribute in the beginning <dev> tag in each topic in the compiled HTML file?
Right now the <div> gets transformed as following:
But it would be a lot more useful if it appeared like the following (or something similar) because our developers use this file and these IDs to map context-sensitive help:
Thanks,
Jesse
I am generating a single HTML file with all of my topics from my ditamap compiled using the DITA Map XHTML transform and a chunk to-content attribute on my starting <map> element.
Each topic in the ditamap has a resourceid set:
Code: Select all
<prolog>
<resourceid id="5040" appname="platform"/>
</prolog>
Right now the <div> gets transformed as following:
Code: Select all
<div class="nested0" aria-labelledby="ariaid-title1" id="cm-duplicate-case">
Code: Select all
<div resourceid id="5040" appname="platform">
Jesse