xpath_string namespace issue...

Поиск
Список
Период
Сортировка
От CG
Тема xpath_string namespace issue...
Дата
Msg-id 259352.24646.qm@web37906.mail.mud.yahoo.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Orest Kozyar"
Дата:
Сообщение: Query optimization (select single record and join)
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Query optimization (select single record and join)