[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: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 02 Dec 2011 07:22:18 -0500
Re:  __LINE__ equivalent in XSTL
At 2011-12-02 13:14 +0100, Bartolomeo Nicolotti wrote:
in C there's a pre-processor directive


that gives you the line of source where the directive is.

Is there an equivalent in XSLT?

No ... how were you planning to exploit this information in your transformation? Perhaps there is something else to help you.

Remember that the input lines of all documents fed into the XSLT processor are not accessible to an XSLT transformation because the transformation works on XPath node trees interpreted from those sources.

The XSLT processor, itself, may keep track of input source lines, but this is an aspect of the processor and not of the W3C specification.

I hope this helps.

. . . . . . . . . Ken

-- Contact us for world-wide XML consulting and instructor-led training Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/t37DVX Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal

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.