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

Re: debugging xslt

Subject: Re: debugging xslt
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Fri, 11 Jun 2010 20:20:13 +0100
Re:  debugging xslt
Stylus Studio and oXygen both have good debuggers.

Many XSLT bugs, however, boil down to path expressions that don't select anything. Debuggers will often point you quickly to the path expression that's faulty, but after that it's usually a question of staring at the path until you see what's wrong - unless you invest the effort into writing schema-aware code, in which case there's a prospect that the compiler will be able to tell you when you write impossible paths.

Michael Kay
Saxonica


On 11/06/2010 19:56, Monosij Dutta-Roy wrote:
I am new to XSLT. However I  have gotten some transforms running. In
general my background is Java / Oracle - and with that I am wondering
what is a good way to debug XSLT other than printing output.

I have also resorted to testing out XPath expressions in Java to check
what they contain and then trying them in XSLT. Just wondering if
there is a better way.

Thanks.

monosij

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.