How to debug XSLT for a custom DITA-OT pdf2 transtype
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 2
- Joined: Tue Mar 05, 2024 7:12 pm
How to debug XSLT for a custom DITA-OT pdf2 transtype
Post by arkadianriver »
Hi, Radu and team ...
We have a custom DITA-OT 3.4.1 transtype based on pdf2 that transforms fine, I'm trying to run Oxygen's XSLT debugger on it.
I've followed the instructions at https://www.oxygenxml.com/doc/versions/ ... ation.html. So, when I right click to debug the transform, I go over to the XSLT debug view and add a breakpoint in the stage1.xml file and a few of our custom XSL files (commons.xsl, root-processing.xsl). The debugger breaks in stage1.xml as expected, but the XSLT file that opens is the root-processing.xsl file of the pdf2 plugin instead of our custom transtype plugin. When I continue, the debugger doesn't hit any of the breakpoints I've set in our custom XSL files.
The customizationUrl.dir is set to our custom transtype's cfg folder. I assumed this is what would be used as the cfg namespace in the <xsl:import href="cfg:fo/xsl/custom.xsl"/> entry of the topic2fo_shell_axf.xsl file. Is there something I'm missing?
Thanks for your help! :O)
- Gary
We have a custom DITA-OT 3.4.1 transtype based on pdf2 that transforms fine, I'm trying to run Oxygen's XSLT debugger on it.
I've followed the instructions at https://www.oxygenxml.com/doc/versions/ ... ation.html. So, when I right click to debug the transform, I go over to the XSLT debug view and add a breakpoint in the stage1.xml file and a few of our custom XSL files (commons.xsl, root-processing.xsl). The debugger breaks in stage1.xml as expected, but the XSLT file that opens is the root-processing.xsl file of the pdf2 plugin instead of our custom transtype plugin. When I continue, the debugger doesn't hit any of the breakpoints I've set in our custom XSL files.
The customizationUrl.dir is set to our custom transtype's cfg folder. I assumed this is what would be used as the cfg namespace in the <xsl:import href="cfg:fo/xsl/custom.xsl"/> entry of the topic2fo_shell_axf.xsl file. Is there something I'm missing?
Thanks for your help! :O)
- Gary
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