Re: xpath processing brain dead - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: xpath processing brain dead
Date
Msg-id 49AB9831.3020809@gmx.net
Whole thread Raw
In response to Re: xpath processing brain dead  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: xpath processing brain dead
List pgsql-hackers
Andrew Dunstan wrote:
> can you point me at any call in libxml2 which will evaluate an xpath 
> expression in the context of a nodeset instead of a document? Quite 
> apart from anything else, xpath requires there to be a (single) context 
> node (see http://www.w3.org/TR/xpath20/#context ). For a doc, we set 
> that node to the document node, but what would it be for a node-set or a 
> fragment? If we can't get over that hurdle we're screwed in pursuing 
> your line of thought.

Which may hint at the fact that running xpath on content fragments is 
ill-defined to begin with?!?



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Immediate shutdown and system(3)
Next
From: Heikki Linnakangas
Date:
Subject: Re: a proposal for an extendable deparser