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

Re: Profiling templates

Subject: Re: Profiling templates
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 May 2008 14:50:09 +0100
Re:  Profiling templates
On Thu, May 22 2008 14:08:54 +0100, peter@xxxxxxxxxxxxx wrote:
> I have a lot of data and some stylesheets which have /evolved/ over
> time. I suspect that the quite a bit of the code is not ever being
> executed, is there some way of finding the parts of the stylesheet that
> is never accessed other than embeding xsl:message everywhere?

AFAICT, the available XSLT profilers will at best tell you what
templates have been used, not what templates haven't been used.  The
ones that just report which templates have been used won't help you, for
example, to work out which parts of a xsl:choose haven't been exercised.

I know of one work-in-progress to make a XSLT coverage tool, but I don't
when or if that will be cooked enough to be made public.

If you also have your input and output schema, you may get some joy from
the XSLV static validation tool at http://www.brics.dk/XSLV/.


Tony Graham                         Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
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

Current Thread


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.
First Name
Last Name
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.