Search Postgresql Archives

xpath_* namespace bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 in the source XML document.


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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux