xml to table (as oppose to table to xml)

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: xml to table (as oppose to table to xml)
Date: 2009-06-01 09:53:08
Message-ID: 2f4958ff0906010253h76c0a532k7a2af57c05005645@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

is there any way currently to convert xml file in format like below,
to a table ?

<foo>
<section>
<ssc id="foo1">
<foo_data a="1" b="2"/>
<foo_more_data c="a" d="b"/>
</ssc>
</section>

<section>
<ssc id="foo2">
...
</ssc>
</section>

<section>
...
</section>

<section>
...
</section>
</foo>

--
GJ

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2009-06-01 09:59:55 Re: newbie table design question
Previous Message Jasen Betts 2009-06-01 09:23:06 Re: GRANT all to a super user