[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: __LINE__ equivalent in XSTL
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|