xpath_* namespace bug - Mailing list pgsql-general

From CG
Subject xpath_* namespace bug
Date
Msg-id 506445.54807.qm@web37909.mail.mud.yahoo.com
Whole thread Raw
Responses Re: xpath_* namespace bug
List pgsql-general
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... It seems like xpath is ignoring the namespace directives
inthe source XML document. 



____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

pgsql-general by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: russian case-insensitive regexp search not working
Next
From: Karen Springer
Date:
Subject: Re: recursive function