Re: XML ouput for psql
От | Bob Calco |
---|---|
Тема | Re: XML ouput for psql |
Дата | |
Msg-id | NCEJJNLDMEJLEJHKNGNHAEDPIGAA.robert.calco@verizon.net обсуждение исходный текст |
Ответ на | Re: XML ouput for psql ("Merlin Moncure" <merlin.moncure@rcsonline.com>) |
Ответы |
Re: XML ouput for psql
|
Список | pgsql-hackers |
I would like to see PostgreSQL eventually support XQuery: http://www.w3.org/TR/xquery/ http://www.w3.org/TR/query-datamodel/ I see potentially an alternative front end called xsql, providing substantially the same functionality as psql, only using XQuery syntax and optionally returning recordsets as XML. Anybody want to put together a team to explore this seriously? There are probably several non-trivial semantic issues on the back end, but I only dimly grasp them at this point. - Bob Calco %% -----Original Message----- %% From: pgsql-hackers-owner@postgresql.org %% [mailto:pgsql-hackers-owner@postgresql.org]On Behalf Of Merlin Moncure %% Sent: Wednesday, March 05, 2003 8:16 AM %% To: Alan Gutierrez %% Cc: pgsql-hackers@postgresql.org %% Subject: Re: [HACKERS] XML ouput for psql %% %% %% XSLT could be used to convert virtually any xml table format directly %% into an insert statement. For me, this is better than using a %% programming language plus a parser. XSLT is quite powerful and fast and %% is build on top of xpath, and is a closer fit to the declarative %% programming model of sql. Validation could be done at the xslt stage or %% with schemas, which I prefer. %% %% %% > Acually, the difficult part has been getting the information back %% > into the database. Getting it out is a very simple query. I imagine %% > that every language/environment has an SQL->XML library somewhere, %% > but I wasn't able to find something that would go from XML to SQL. %% > %% %% ---------------------------(end of broadcast)--------------------------- %% TIP 3: 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
В списке pgsql-hackers по дате отправления: