Re: xml to table (as oppose to table to xml) - Mailing list pgsql-general

From Sam Mason
Subject Re: xml to table (as oppose to table to xml)
Date
Msg-id 20090601100448.GM5407@samason.me.uk
Whole thread Raw
In response to xml to table (as oppose to table to xml)  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Responses Re: xml to table (as oppose to table to xml)
List pgsql-general
On Mon, Jun 01, 2009 at 10:53:08AM +0100, Grzegorz Jaaakiewicz wrote:
> is there any way currently to convert xml file in format like below,
> to a table ?

I've had good luck with the xpath support in PG[1] and some variant of
the "unnest" function that's in PG 8.4 (various versions[2] have been
posted to this list for older versions).

--
  Sam  http://samason.me.uk/

 [1] http://www.postgresql.org/docs/current/static/functions-xml.html#FUNCTIONS-XML-PROCESSING
 [2] http://archives.postgresql.org/message-id/b88c3460905290021o6870bb46tec88ced0c40643d9@mail.gmail.com

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: newbie table design question
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: xml to table (as oppose to table to xml)