Re: returning PGresult as xml

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: returning PGresult as xml
Дата
Msg-id
40166CE2.2060703@dunslane.net
Ответ на
Список
Дерево обсуждения
returning PGresult as xml Brian Moore <brianmooreca@yahoo.com>
Re: returning PGresult as xml Hannu Krosing <hannu@tm.ee>
Re: returning PGresult as xml Peter Eisentraut <peter_e@gmx.net>
Re: returning PGresult as xml Mike Mascari <mascarm@mascari.com>
Re: returning PGresult as xml Andrew Dunstan <andrew@dunslane.net>
Re: returning PGresult as xml Peter Eisentraut <peter_e@gmx.net>
Re: returning PGresult as xml Hannu Krosing <hannu@tm.ee>
Re: returning PGresult as xml Scott Lamb <slamb@slamb.org>
Re: returning PGresult as xml Andrew Dunstan <andrew@dunslane.net>
building plperl on 7.4.1 Dave Cramer <pg@fastcrypt.com>
index scan with functional indexes Dave Cramer <pg@fastcrypt.com>
Re: index scan with functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: index scan with functional indexes Dave Cramer <pg@fastcrypt.com>
Re: index scan with functional indexes Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: index scan with functional indexes Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: index scan with functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: index scan with functional indexes Dave Cramer <pg@fastcrypt.com>
Re: index scan with functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: index scan with functional indexes Dave Cramer <pg@fastcrypt.com>
Re: index scan with functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: index scan with functional indexes -- solved Dave Cramer <pg@fastcrypt.com>
Re: index scan with functional indexes -- solved Kevin Brown <kevin@sysexperts.com>


Scott Lamb wrote:

> On Jan 25, 2004, at 3:07 AM, Brian Moore wrote:
>
>> 
>>   
>>   
>>   
>>     1
>>     2
>>   
>> 
>
>
> How would you filter for a column in XSLT based on column name with  
> this schema? It's certainly not trivial. I have similar code, and I  
> included the column name as an attribute in each column element for  
> this reason. 



Close to trivial if you set up a key on the col-desc elements, I should 
think. Maybe something like:



...


...

Alternatively you can get there using the parent and preceding-sibling 
axes, but it's less clear.

cheers

andrew




В списке pgsql-hackers по дате отправления
От: Scott Lamb
Дата:
Сообщение: Re: returning PGresult as xml
От: Simon Riggs
Дата:
FAQ