Re: returning PGresult as xml
Hannu Krosing <hannu@tm.ee>
From: Hannu Krosing <hannu@tm.ee>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@postgresql.org
Date: 2004-01-30T22:48:03Z
Lists: pgsql-hackers
Peter Eisentraut kirjutas N, 29.01.2004 kell 19:31: > Andrew Dunstan wrote: > > Peter: this looks very nice. What are your intentions with this code? > > Once we figure out how to handle the on-the-wire character set recoding > when faced with XML documents (see separate thread a few weeks ago), I > would like to finish it. > > > Put it in contrib? Also, do you intend to implement the SQL/XML > > functions XMLElement, XMLForest, XMLAttributes, XMLConcat and XMLAgg? > > You have to implement these directly in the parser, which I'm not yet > excited about. Why not use some standard parser ? libxml2 (www.xmlsoft.org) seems nice and is either available as a separate dynamic library or can also be (IIRC) configured to build with just the minimal needed functionality. --------------- Hannu