Process PI in webhelp footer
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 86
- Joined: Sun May 03, 2015 7:34 pm
- Location: San Francisco
Process PI in webhelp footer
Post by urbanrobots »
Hi,
We have a processing instruction from our CMS that includes the last edited date of the file. These appear in the DITA temp files but I cannot figure out how to process these as a value that appears in the webhelp footer. I know how to parse the PI, but not where to include this logic in the webhelp plugin.
In Oxygen Webhelp v19, which file / template do I update to add this information?
Thanks!
- Nick
We have a processing instruction from our CMS that includes the last edited date of the file. These appear in the DITA temp files but I cannot figure out how to process these as a value that appears in the webhelp footer. I know how to parse the PI, but not where to include this logic in the webhelp plugin.
In Oxygen Webhelp v19, which file / template do I update to add this information?
Thanks!
- Nick
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Process PI in webhelp footer
Post by radu_pisoi »
Hi,
For this use case, you need to develop a WebHelp Responsive extension plugin.
The extension plugin can use the XSLT-Import extension points, allowing you to extend the XSLT stylesheets that generate the HTML files.
Example:
See all WebHelp Responsive XSLT-Import and XSLT-Parameter Extension Points in our documentation.
https://www.oxygenxml.com/doc/versions/ ... mport.html
See also an example: Customizing Main Page Using XSLT-Import/Parameter Extension Points
https://www.oxygenxml.com/doc/versions/ ... ample.html
For this use case, you need to develop a WebHelp Responsive extension plugin.
The extension plugin can use the XSLT-Import extension points, allowing you to extend the XSLT stylesheets that generate the HTML files.
Example:
Code: Select all
<plugin id="com.oxygenxml.webhelp.responsive.extension">
<feature extension="com.oxygenxml.webhelp.responsive.xsl.dita2webhelp"
file="xsl/fixup.xsl"/>
</plugin>
https://www.oxygenxml.com/doc/versions/ ... mport.html
See also an example: Customizing Main Page Using XSLT-Import/Parameter Extension Points
https://www.oxygenxml.com/doc/versions/ ... ample.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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)
- ↳ 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