 |
| XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

March 21st, 2008, 06:25 AM
|
|
Authorized User
|
|
Join Date: Apr 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Debugging in XSLT
Hi ,
i have a xml and xsl . Iwant to step by step debug the xsl using xalan or saxon . Is it possible ? If so any one can help me out.
Thanks & Regards,
Sasi.A
A. Sasi
__________________
A. Sasi
|
|

March 21st, 2008, 07:15 AM
|
 |
Wrox Author
|
|
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
|
|
Stylus Studio and oXygen both offer step-by-step debugging for Saxon.
It's worth pointing out that it doesn't work quite like step-by-step debugging in a procedural language. With Saxon, the order of execution can vary quite considerably from the "naive" order, so the debugging experience can be a bit disorienting at first.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
|

March 21st, 2008, 08:24 AM
|
|
Friend of Wrox
|
|
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
|
|
Hello,
See this post. I use templates to spit out either a <xsl:message> or <xsl:comment> with very large XSL files. Also Michael Kay points out some additional technics:
http://p2p.wrox.com/topic.asp?TOPIC_ID=69459
Good Luck
|
|

March 22nd, 2008, 01:34 AM
|
|
Authorized User
|
|
Join Date: Apr 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi ,
i dont want to use stylus studio or some other tool . i am developing a data transformation tool and in that i need to provide debugging facility . how i can do that ?
A. Sasi
|
|

March 22nd, 2008, 03:04 AM
|
 |
Wrox Author
|
|
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
|
|
I don't know of any XSLT interactive debuggers other than the ones mentioned.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
|

March 22nd, 2008, 06:29 PM
|
|
Authorized User
|
|
Join Date: Apr 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Michael,
Thanks for the Reply . I think i am not clear .
I am developing a data transformation tool . Currently it is able to provide xml to xml transformation . But my requirement is i need to provide debugging to the end user .
Using Xalan or Saxon Processor how i can debug the xslt . Or else i can also say like this , Stylus Studio is providing the debugging functionality , i want to know the internals of debugging functionality and how they provided in their tool , so that i can also provide in my tool to debug an xslt and see the intermediate results .
Am i clear . Tell me if i am not clear.
Bye Bye,
A. Sasi
|
|

March 22nd, 2008, 07:34 PM
|
 |
Wrox Author
|
|
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
|
|
Yes, your requirements are clear. I don't know about Xalan. But as far as Saxon is concerned, you have two options. You can study the source code and documentation and work out for yourself how to design and integrate a debugger, which is what oXygen did. Or you can engage Saxonica under a consultancy agreement to give you advice and assistance in designing and integrating a debugger, which is what Stylus Studio did. But it's a substantial project either way.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
|
 |