xml output - Mailing list pgsql-novice

From Florian Henge
Subject xml output
Date
Msg-id 49520099.2598462.1282563223209.JavaMail.fmail@mwmweb078
Whole thread Raw
Responses Re: xml output  (Thom Brown <thom@linux.com>)
List pgsql-novice
hi there!i wanted to ask how to get an xml output from a table like
this:<words><first_name>joe</first_name><first_name>ian</first_name><first_name>carl</first_name><first_name>ben</first_name></words>what
ihave is the following: 
SELECT xmlelement(name words,


xmlforest(nachname))
FROM person
SELECT xmlelement(name words,xmlforest(nachname))FROM personbut that gives me
this:<words><first_name>joe</first_name></words><words><first_name>ian</first_name></words><words><first_name>carl</first_name></words><words><first_name>ben</first_name></words>thanks
inadvance!bye, flo   Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
   JetztDe-Mail-Adresse reservieren: https://produkte.web.de/go/demail02 

pgsql-novice by date:

Previous
From: Frank Bax
Date:
Subject: create a box from point?
Next
From: Krzysztof Hoffmann
Date:
Subject: Re: create a box from point?