xpath_string namespace issue... - Mailing list pgsql-general

From CG
Subject xpath_string namespace issue...
Date
Msg-id 259352.24646.qm@web37906.mail.mud.yahoo.com
Whole thread Raw
List pgsql-general
I'm not sure what I'm missing here... :)

select xpath_string($xml$<?xml version="1.0" ?>
<f:foo xmlns:f="foo">
  <f:bar>baz</f:bar>
</f:foo>
$xml$
,'//f:bar/text()')

This does not give me back "baz" as I was expecting it to... How does one clue-in the xpath functions to the namespaces
inthe XML document? 



____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz

pgsql-general by date:

Previous
From: "Orest Kozyar"
Date:
Subject: Query optimization (select single record and join)
Next
From: Richard Huxton
Date:
Subject: Re: Query optimization (select single record and join)