xmlelement("XML1",
xmlagg(
xmlelement("XML2",
xmlattributes(value1 as "title1",
value2 as "title2",
value3 as "title3",
value4 as "title4",
value5 as "title5",
value6 as "title6",
value7 as "title7",
value8 as "title8",
value9 as "title9"
)
)
order by value1, value5
)).getClobVal()