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/