xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] User-defined function for linenumber


Subject: Re: [xsl] User-defined function for linenumber
From: "Jesper Tverskov" <jesper@xxxxxxxxxxx>
Date: Wed, 1 Aug 2007 10:52:29 +0200

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


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2010 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor