Use Product information (prodinfo, vrmlist, vrm) in DITA con
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 14
- Joined: Mon Jun 15, 2015 1:02 pm
Use Product information (prodinfo, vrmlist, vrm) in DITA con
Hi,
I want to use the version number of the document which I have defined in my ditamap in my webhelp output so that the reader can see for which product versions the document relates to.
I have already successfully used the version number in the PDF output and can also extract it during the ANT build and can add it as a header to the webhelp and CHM output.
But ideally I want to have an "about" page or information in the "introduction" which says something like "This manual is for Product version 1.2.3".
My Ditamap code is:
I've looked at conref but this just adds in another VRM. Can you help me to add the VRM information to a dita topic body?
Thanks
Rich
I want to use the version number of the document which I have defined in my ditamap in my webhelp output so that the reader can see for which product versions the document relates to.
I have already successfully used the version number in the PDF output and can also extract it during the ANT build and can add it as a header to the webhelp and CHM output.
But ideally I want to have an "about" page or information in the "introduction" which says something like "This manual is for Product version 1.2.3".
My Ditamap code is:
Code: Select all
<topicmeta>
<copyright>
<copyryear year="2015"/>
<copyrholder>Widget Solutions GmbH</copyrholder>
</copyright>
<prodinfo>
<prodname>Widget Management Center</prodname>
<vrmlist>
<vrm id="productVersion" version="1" release="0" modification="0001"/>
</vrmlist>
</prodinfo>
</topicmeta>
Thanks
Rich
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Use Product information (prodinfo, vrmlist, vrm) in DITA
Post by sorin_ristache »
One option is to create a DITA topic that includes the product meta information that you want to extract from the DITA map, like a version number, and include this topic on the first position, only in the WebHelp transformation. But the big drawback is that this topic would need to be updated for every change in the meta information.
Other option would be to mark the insertion place for this meta info in the DITA topic where you want to see it in the WebHelp output, and add your own custom processing for this marker. The marker could look like a
and you can process it for example with ANT code added in the ANT build file:
Other option would be to mark the insertion place for this meta info in the DITA topic where you want to see it in the WebHelp output, and add your own custom processing for this marker. The marker could look like a
Code: Select all
<object otherprops="webhelp"/>
and you can process it for example with ANT code added in the ANT build file:
Code: Select all
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\build_dita.xml
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor Support
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service