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

From Andrew Dunstan
Subject Re: xpath processing brain dead
Date
Msg-id 49A7369E.4000807@dunslane.net
Whole thread Raw
In response to Re: xpath processing brain dead  (James Pye <lists@jwp.name>)
Responses Re: xpath processing brain dead  (James Pye <lists@jwp.name>)
List pgsql-hackers

James Pye wrote:
> On Feb 26, 2009, at 9:37 AM, Peter Eisentraut wrote:
>> It's not about ill-formed pieces, it is about (well-formed) content 
>> fragments that are not full documents (exactly one root element). 
>> libxml2 doesn't support xpath on content fragments.
>
> exslt:node-set() to the rescue? Or is that/equivalent functionality 
> not easily accessed at the C-level with libxml2?
>
> http://www.exslt.org/exsl/functions/node-set/index.html

A node-set isn't a document. In any case, this functionality doesn't 
appear to be in libxml2, it's in libxslt according to the reference you 
provided.

cheers

andrew


pgsql-hackers by date:

Previous
From: James Pye
Date:
Subject: Re: xpath processing brain dead
Next
From: KaiGai Kohei
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1608)