Export table/view in xml-format - Mailing list pgsql-general

From Detlef Jockheck
Subject Export table/view in xml-format
Date
Msg-id 200303091037.h29Ab8W05503@krakatau.jockheck.de
Whole thread Raw
Responses Re: Export table/view in xml-format
List pgsql-general
Hi,

is there a tool to export contents of a table or view in xml? I would like
something that:
--- cut ---
<xml-header>
    bla and blub
</xml-header>
<tablename>
    <row>
        <column_a>data</column_a>
        <column_b>data</column_b>.
        ...
    </row>
    <row>
        <column_a>data</column_a>
        <column_b>data</column_b>
        ...
    </row>
</tablename>
<xml-footer>
    some text
</xml-footer>
--- cut ---

ciao Detlef
--
# Dipl. Ing. (FH) Detlef Jockheck
# E-mail: detlef@jockheck.de
# -------------------------------

pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: Replacing rpm installation with tarball
Next
From: "Matthew Nuzum"
Date:
Subject: Re: PostgreSQL Frontend for Windows