how to add product release information in PDF cover page
Posted: Wed Jul 26, 2017 2:26 pm
Hi Expert,
In oxygen, i set the release inforamtion in the ditamap, like below
if I want to get the otherprops value, i can use
How can I get the version value?
I used, and my version is 3, it prints a lot of 3 in my pdf.
Thanks!
Lisa
In oxygen, i set the release inforamtion in the ditamap, like below
Code: Select all
<map title="Lisa Guide" product="Lisa test" otherprops="DN1234567">
<title>Goodix MCU SDK Developer Guide</title>
<topicmeta>
<prodinfo>
<prodname>@product.name@</prodname>
<vrmlist>
<vrm version="3" release="1.1"/>
</vrmlist>
<brand>@company.name@</brand>
<component>@product.component@</component>
</prodinfo>
</topicmeta>
Code: Select all
<xsl:value-of select="//*[contains(@class, ' map/map ')]/@otherprops"/>.
I used
Code: Select all
<xsl:value-of select="$map/*[contains(@class,' topic/vrm ')]/@version" />
Thanks!
Lisa