Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
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
 
Old March 21st, 2008, 06:25 AM
Authorized User
 
Join Date: Apr 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old March 21st, 2008, 07:15 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

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
 
Old March 21st, 2008, 08:24 AM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

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


 
Old March 22nd, 2008, 01:34 AM
Authorized User
 
Join Date: Apr 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old March 22nd, 2008, 03:04 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

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
 
Old March 22nd, 2008, 06:29 PM
Authorized User
 
Join Date: Apr 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old March 22nd, 2008, 07:34 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can XSLT read DTD/schema and Generate XSLT.. ROCXY XSLT 1 November 6th, 2006 09:39 AM
Debugging XSLT Russ XSLT 4 October 2nd, 2006 09:18 AM
dynamic xslt -> xslt creation namespace problem jkmyoung XSLT 2 July 15th, 2006 12:42 AM
Debugging karthik_p VB Databases Basics 0 October 15th, 2005 01:06 PM
Help Debugging fs22 Javascript 3 May 17th, 2005 10:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.