Re: xpath_array with namespaces support

Поиск
Список
Период
Сортировка
От Nikolay Samokhvalov
Тема Re: xpath_array with namespaces support
Дата
Msg-id e431ff4c0703180637q41c3af46se8640c7c022e48ee@mail.gmail.com
обсуждение исходный текст
Ответ на Re: xpath_array with namespaces support  ("Nikolay Samokhvalov" <samokhvalov@gmail.com>)
Ответы Re: [HACKERS] xpath_array with namespaces support  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-patches
On 3/5/07, Nikolay Samokhvalov <samokhvalov@gmail.com> wrote:
> On 3/4/07, Nikolay Samokhvalov <nikolay@samokhvalov.com> wrote:
> > I'll fix these issues and extend the patch with resgression tests and
> > docs for xpath_array(). I'll resubmit it very soon.
>
> Here is a new version of the patch. I didn't change any part of docs yet.
> Since there were no objections I've changed the name of the function
> to xmlpath().

Updated version of the patch contains bugfix: there were a problem
with path queries that pointed to elements (cases when a set of
document parts that correspond to subtrees should be returned).
Example is (included in regression test):

xmltest=# SELECT xmlpath('//b', '<a>one <b>two</b> three <b>etc</b></a>');
         xmlpath
-------------------------
 {<b>two</b>,<b>etc</b>}
(1 row)

Waiting for more feedback, please check it.

--
Best regards,
Nikolay

Вложения

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: patch adding new regexp functions
Следующее
От: "Mike Rylander"
Дата:
Сообщение: Re: xml2 contrib patch supporting default XML namespaces