Subject: RE: Debugging XSL using Saxon
From: "Shailesh Shinde" <shailesh@xxxxxxxxxxxx>
Date: Fri, 16 Jun 2006 14:18:53 +0530
|
Thanks a lot!
-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Friday, June 16, 2006 2:11 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: Debugging XSL using Saxon
Stylus Studio and oXygen both include interactive debuggers that work with
Saxon.
Alternatively you can simply use xsl:message or the trace() function.
(Sometimes rather than xsl:message I use xsl:comment, which inserts the
diagnostic output into the result document).
Declaring types on all your variables and parameters is a good idea, because
it often means you get much earlier error messages. Even better is to use
schema-aware processing which will often detect your errors at compile time:
see http://www.stylusstudio.com/schema_aware.html
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: Shailesh Shinde [mailto:shailesh@xxxxxxxxxxxx]
> Sent: 16 June 2006 08:16
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Debugging XSL using Saxon
>
> Hi All,
>
> Can you please tell me how to debug xsl using Saxon.
> Please provide any references for the same.
>
> Thanks,
> Shailesh
|