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.


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

Reply via email to