xsl-list
[Top] [All Lists]

Reporting line numbers

2005-10-26 01:32:01
Hello,

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

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

Thanks for any suggestions,

Mark Dunn

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>