logo       

Re: [HACKERS] xpath not a good replacement for xpath_string: msg#01873

pgsql-hackers

Subject: Re: [HACKERS] xpath not a good replacement for xpath_string



Kevin Grittner wrote:
Andrew Dunstan <andrew@xxxxxxxxxxxx> wrote:
This is really a usage question, which doesn't belong on -hackers.
Perhaps this sentence in the 8.4.0 docs should be amended or removed?:
"If you find that some of the functionality of this module is not
available in an adequate form with the newer API, please explain your
issue to pgsql-hackers@xxxxxxxxxxxxxx so that the deficiency can be
addressed."
http://www.postgresql.org/docs/8.4/interactive/xml2.html#AEN115231


Well, yes, maybe I should withdraw my comment, although in fact the desired functionality is present, as both Mike Rylander and I noted. You just need to use the text() function to get the contents of the node, and an array subscript to pull it out of the result array.

The really annoying thing we are missing is not xpath functionality, but XSLT processing.

cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise