Subject: Re: debugging source line numbers
From: Daniel Veillard <daniel@xxxxxxxxxxxx>
Date: Fri, 24 Jan 2003 12:42:41 +0100
|
On Fri, Jan 24, 2003 at 10:20:29AM -0000, David.Pawson@xxxxxxxxxxx wrote:
> Mike said:
> > FWIW, Saxon has an extension function saxon:line-number()
> > that gives the
> > line number of the context node in the source document
> > (provided you run
> > Saxon with the -l option).
>
> IMHO its worth a heck of a lot Michael.
> I find it extremely useful when reporting errors on source files
> sourced by non XML'ers.
>
> It would be a very useful addition to XSLT 2.... No, I'll check
> (if it's already there :-)
Suggest it for EXSLT, it may end up as a portable solution :-)
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@xxxxxxxxxx | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|