> s/XMLGEN/XMLAGG/> > Sorry, I meant XMLAGG() not XMLGEN()
And now that I have the name right, I found the answer:
http://archives.postgresql.org/pgsql-hackers/2006-12/msg01022.php
Sorry to be a bother...
-- Korry