you don't want to use xmelement or any of the xml aggregation functions,
you are simply inserting nodes within other nodes.
use INSERTCHILDXML to do that...
select INSERTCHILDXML(
xmltype('<Customers></Custome
'/Customers',
'customer',
INSERTCHILDXML(function1, '/customer', 'PostalAddress', function2)
) from dual
Main Topics
Browse All Topics





by: schwertnerPosted on 2009-07-14 at 06:23:53ID: 24849170
Curious what will give you ction1() || Function2()) INTO xml_temp FROM dual;
SELECT XMLElement("Customers",fun