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

Re: Is there something like a trace processing output

Subject: Re: Is there something like a trace processing output for XSLT processing? At least with Saxon?
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Dec 2009 11:00:53 +0000
Re:  Is there something like a trace processing output
On Fri, Dec 11 2009 10:41:35 +0000, bxstover@xxxxxxxxxxx wrote:
> I wonder wether there is something like a trace output for the XSLT
> processing.
>
> In other words: When applying a XSLT script onto a XML input file all
> matching templates and matched XML nodes and their transformation
> should be written to a log file.
>
> Is this somehow possible? At least with Saxon?

Yes.  Saxon comes with a stylesheet for getting timing information out
of the trace.

Jeni Tennison's XSpec [1] has a trace listener and a stylesheet for
generating a coverage report.  It seems the coverage report wasn't
working in the 0.1 release, but it does work in the version that you can
get from a Subversion checkout.  I now no longer know where or how I
found the coverage documentation, but see
http://www.menteithconsulting.com/wiki/TestingXSLT/XSpec#Coverage for
some sample output.

Regards,


Tony Graham                         Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd                               XML Guild member
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2


[1] http://code.google.com/p/xspec/

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.