[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: __LINE__ equivalent in XSTL

Subject: Re: __LINE__ equivalent in XSTL
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 2 Dec 2011 14:58:58 +0000
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.