xsl-list
[Top] [All Lists]

Re: [xsl] User-defined function for linenumber

2007-08-01 01:52:45
Michael Kay wrote:
This feels horrendously inefficient. Why not instead implement a SAX filter
that adds the line number as an extra attribute to every element?

Yes, but my solution works using XSLT 2.0 only and that is nice. It
would be even nicer if it could be modified to also work in
Schematron, that is I can not use the analyze-string element?

Cheers
Jesper

--~------------------------------------------------------------------
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>
--~--