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

Re: __LINE__ equivalent in XSTL

Subject: Re: __LINE__ equivalent in XSTL
From: Graydon <graydon@xxxxxxxxx>
Date: Fri, 2 Dec 2011 07:56:51 -0500
Re:  __LINE__ equivalent in XSTL
On Fri, Dec 02, 2011 at 01:50:51PM +0100, Hermann Stamm-Wilbrandt scripsit:
> As Ken said the XSLT processor can have line number information.
> 
> An XPath expression for a given stylesheet's nodes can be considered
> as an equivalent of "line number".
> 
> Please see Oliver Becker's solution on getting trace output for XSLT:
> http://www2.informatik.hu-berlin.de/~obecker/XSLT/#trace
> 
> 
> Saxon extension "saxon:path" might be useful.
> 
> Or, if you do not use saxon, this posting of Dimitre on Dave's XSL FAQ:
> http://www.dpawson.co.uk/xsl/sect2/N6077.html#d8281e21

Or use an XML IDE with debugger support during development, if this is a
development requirement rather than a production one.  (oXygen certainly
has a useful debugger; there are probably more.)

-- Graydon

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.