Re: Postgresql 8.4, XPath and name() function

From: ced45 <cedric(dot)duprez(at)ifn(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql 8.4, XPath and name() function
Date: 2010-07-13 08:44:00
Message-ID: 29148011.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-07-13 09:00:53 Re: PG_DUMP very slow because of STDOUT ??
Previous Message Thom Brown 2010-07-13 08:36:42 Re: Postgresql 8.4, XPath and name() function