[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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/. Regards, 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|