Re: [xslt] saxon:line-number()
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] saxon:line-number()
- Date: Mon, 3 Nov 2003 04:09:35 -0500
On Sun, Nov 02, 2003 at 06:13:25PM -0600, Brett Kail wrote:
> > Well, actually in 2.6.x there is some extra room in nodes for line
> >information, I kept your patch, it should work with a recent version of
> Well, is xmlNode->content being used now? Is there a reason that the
> line/extra couldn't still be packed into the storage of that pointer?
You should not have to check how it is done, the call to xmlGetLineNo()
> Also, I see that there's a new psvi member declared as a void *. It would
> make sense to me if an xmlHashTable member were added instead with a few
> supporting functions:
The PSVI is for future datatype extensions, it is not a generic
metadata access mechanism, nor a field available for user data.
I think adding an hashtable per node is just insanely expensive.
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
email@example.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
] [Thread Prev