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

Re: Re: Conditional XSL Variable

Subject: Re: Re: Conditional XSL Variable
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 20 Nov 2008 20:14:55 +0000
Re:  Re: Conditional XSL Variable
> You should also try putting <xsl:message><value-of
> select="$valueofCodeA"/></xsl:message> in for debugging purposes in
> case $valueofCodeA is different than what you expected.

For debugging I really recommend checking out oXygen - it's great...
You get 3 panes: input, stylesheet, result.  You can run the transform
and then click on nodes in the result tree and get taken to the points
in the stylesheet and input that created that node.  So if you get
some unfamiliar xml and xslt, you can run it through the debugger and
then click around the result to see how it was constructed.

I don't know if that's a standard feature in all IDEs but it really is
pretty amazing when you're use to "xsl:message debugging" :)  and well
worth mentioning here.

It also does all the other usual debugging stuff but this feature
really is a killer feature... If anyone uses any of the other IDEs I'd
be interested to know if they did the same.

Andrew Welch
Kernow: http://kernowforsaxon.sf.net/

Current Thread


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.
First Name
Last Name
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.