Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] User-defined function for linenumber >Thread Next - Re: [xsl] User-defined function for linenumber Re: [xsl] User-defined function for linenumberTo: Date: 8/1/2007 8:53:00 AM 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
