Re: XPath question - big trouble

Поиск
Список
Период
Сортировка
От Marian POPESCU
Тема Re: XPath question - big trouble
Дата
Msg-id eb7rma$3b5$1@sea.gmane.org
обсуждение исходный текст
Ответ на XPath question - big trouble  (Marian POPESCU <softexpert@libertysurf.fr>)
Ответы Re: XPath question - big trouble  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-general
Thank you!

Since you brought up the subject, will this
 //paragraph[@objid = "02"]
be slower than
/mydocument/body/chapter/contents/paragraph[@objid
>> = "02"]
when handling a big document?
I mean from the query time point of view ...


Csaba Nagy wrote:

> 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.
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly

--
~~~~~~~~~~~~~~~~~~~~~~~
- S o f t E x p e r t -
~~~~~~~~~~~~~~~~~~~~~~~

В списке pgsql-general по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Practical maximums (was Re: PostgreSQL theoretical
Следующее
От: Steve Crawford
Дата:
Сообщение: psql: absolutes and toggles