In complex conversion pipelines with lots of template rules and lots of
passes in different modes,
Another helper technique when you have a pipeline is to have
additional entry point stylesheets, where the result is the output of
one of the internal steps in the pipe.
For example, if your normal pipeline is:
A -> B -> C
then it's difficult to debug the result of the B step because if you
add an xsl:copy-of select="$B" to the C step, then the debugger will
just show the output as coming from that copy-of.
However, if you add a new debug entry point stylesheet which just does:
A -> B
then you can click around the result in the debugger and easily find
where things have come from.
Hopefully that makes sense...
--
Andrew Welch
http://andrewjwelch.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--