Re: [xml] prerelease of 2.2.5

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Thu Oct 12 2000 - 19:49:46 EDT


On Fri, Oct 06, 2000 at 04:32:54PM +0200, Helge Hess wrote:
>
> Daniel Veillard wrote:
> > is available at ftp://xmlsoft.org/
> > Please check it out if you're using Windows or XPath, i probably
> > won't be able to make a real release before next Wed, and won't
> > answer mail in the meantime. Send patches !
>
> I have not looked yet at libxml XPath support, anyway a question ..
>
> In my understanding XPath is some kind of navigation language for XML
> trees, I hope this is right ...

more generally an XML expression language (stack, variables and
functions).

> So, in libxml, is the XPath support tied to the libxml document
> structures

  yes

> or does it use callbacks,

  no

> so that one can hook in any
> structure ? Eg if I would have navigation like that:
>
> "up().up().left()" (don't know correct XPath yet ..)

  Well read the spec, especially the data model and you will understand
why this approach is unfeasible...

> Any suggestions, opinions ?

  If you want to use XPath/XPointer etc ... or more generally
the advanced functionnalities of libxml the best way is to associate
your own data structure to the DOM tree using the _private fields
on the nodes.

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Oct 12 2000 - 20:43:20 EDT