How to debug XSLT for a custom DITA-OT pdf2 transtype

Post here questions and problems related to editing and publishing DITA content.
arkadianriver
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