| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | James Pye <lists(at)jwp(dot)name> |
| Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com> |
| Subject: | Re: xpath processing brain dead |
| Date: | 2009-02-27 00:41:02 |
| Message-ID: | 49A7369E.4000807@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | KaiGai Kohei | 2009-02-27 01:02:30 | Re: Updates of SE-PostgreSQL 8.4devel patches (r1608) |
| Previous Message | James Pye | 2009-02-27 00:19:17 | Re: xpath processing brain dead |