Re: Postgresql 8.4, XPath and name() function - Mailing list pgsql-general

From ced45
Subject Re: Postgresql 8.4, XPath and name() function
Date
Msg-id 29148011.post@talk.nabble.com
Whole thread Raw
In response to Re: Postgresql 8.4, XPath and name() function  (Thom Brown <thombrown@gmail.com>)
List pgsql-general

Thom Brown wrote:
>
> Have you tried:
>
> SELECT XPATH('fn:name(/*)', XMLPARSE(DOCUMENT '<unit>value</unit>'));
>
> Thom
>
>
Thanks for your help, but it gives the whole element and not only the markup
name.

Cedric
--
View this message in context:
http://old.nabble.com/Postgresql-8.4%2C-XPath-and-name%28%29-function-tp29147655p29148011.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Postgresql 8.4, XPath and name() function
Next
From: Craig Ringer
Date:
Subject: Re: PG_DUMP very slow because of STDOUT ??