Re: XPath question - big trouble

Поиск
Список
Период
Сортировка
Искать
От
Csaba Nagy
Тема
Re: XPath question - big trouble
Дата
Msg-id
1154969287.21451.139.camel@coppola.muc.ecircle.de
Ответ на
Список
Дерево обсуждения
Re: XPath question - big trouble Marian POPESCU <softexpert@libertysurf.fr>
Re: XPath question - big trouble Csaba Nagy <nagy@ecircle-ag.com>
Marian,

> 1.
> SELECT 
>         xpath_nodeset(xml_data, '/mydocument/body/chapter/contents/paragraph[@objid
> = "02"]|/mydocument/body/paragraph[@objid="87"]')
> FROM xmltable
> WHERE id = 3

You could maybe use the xpath: '//paragraph[@objid = "02"]' if you want
all paragraphs at all document levels.

A nice xslt reference is:
file:///home/cnagy/offline/XSLTreference/Output/index.html

There you can also exercise your xpath skills...

Cheers,
Csaba.




В списке pgsql-general по дате отправления
От: Marian POPESCU
Дата:
От: Jeff Davis
Дата:
FAQ