Altova Mailing List Archives

Re: [xsl] __LINE__ equivalent in XSTL

From: Graydon <graydon@------.-->
To: xsl-list@-----.------------.---
Date: 12/2/2011 12:57:00 PM
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:
> Saxon extension "saxon:path" might be useful.
> Or, if you do not use saxon, this posting of Dimitre on Dave's XSL FAQ:

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

XSL-List info and archive:
To unsubscribe, go to:
or e-mail: <mailto:xsl-list-unsubscribe@l...>


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.