Exporting to XML - Mailing list pgsql-general

From Charlotte Pollock
Subject Exporting to XML
Date
Msg-id AEFB3420-9AC7-11D9-ACAD-000A956C3B16@bangor.ac.uk
Whole thread Raw
Responses Re: Exporting to XML  (Mike Rylander <mrylander@gmail.com>)
List pgsql-general
Hi all

I want to export data from my postgres database.

I want to output, for each record, a folder containing an XML file eg
    <dublin_core>
                <dcvalue element="contributor"
qualifier="author">Pollock, Charlotte</dcvalue>
                <dcvalue element="identifier"
qualifier="isbn">asdasdasdasd</dcvalue>
                <dcvalue element="title" qualifier="none">Our
Publication</dcvalue>
               <dcvalue element="type" qualifier="none">Book</dcvalue>
          </dublin_core>

each folder (and the xml file contained within it) will contain data
for only one record from the database.

Any suggestions on what might be a good way to tackle this problem,
gratefully recieved

Thanks
Charlie


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: pl/perl problem
Next
From: Sean Davis
Date:
Subject: Re: pl/perl problem