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

Re: Reporting line numbers

Subject: Re: [xsl] Reporting line numbers
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 26 Oct 2005 09:48:53 +0100
paul myatt
>>>>> "Mark" == Dunn, Mark <mark.dunn@xxxxxxx> writes:

    Mark> Hello, Is XSLT (1 or 2) able to tell me the line number in a
    Mark> file at which a node is found? For example, is there some
    Mark> code that could fill in the gap here:

    Mark> <xsl:for-each select="myTag[@myAtt]"> <!-- code to report
    Mark> the line number of each <myTag> element with the myAtt
    Mark> attribute --> </xsl:for-each>

    Mark> Thanks for any suggestions,

My suggestion is that you will need an extension function for this.
-- 
Colin Adams
Preston Lancashire

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.