Re: [PATCHES] xpath_array with namespaces support

Поиск
Список
Период
Сортировка
От Nikolay Samokhvalov
Тема Re: [PATCHES] xpath_array with namespaces support
Дата
Msg-id e431ff4c0704040643j2374504dq278a205ecd27baf7@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCHES] xpath_array with namespaces support  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On 4/4/07, Peter Eisentraut <peter_e@gmx.net> wrote:
Am Mittwoch, 4. April 2007 14:43 schrieb Nikolay Samokhvalov:
> > Why do we even need to support xpath on fragments?
>
> Why not? I find it useful and convenient.

Well, rather than inventing bogus root wrapper elements, why not let users
call xmlelement() to produce the wrapper element themselves?

User may even don't know in what case wrapper element is needed. I mean, if user works with XML column containing both documents and fragments, then what must he do? Add wrapper anyway? So, users will add XMLELEMENT in almost any case.

I'd prefer to keep external interfaces simpler (less thinking in such cases for users).

--
Best regards,
Nikolay

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

Предыдущее
От: "Nikolay Samokhvalov"
Дата:
Сообщение: Re: [PATCHES] xpath_array with namespaces support
Следующее
От: "Nikolay Samokhvalov"
Дата:
Сообщение: Re: --enable-xml instead of --with-libxml?