Dynamic Tagname for XMLELEMENT ?
454442Nov 23 2005 — edited Aug 6 2009How can I create dynamic tagnames for an xmlelement?
For example The department names below are values in the database table
<Departments>
<Accounts>
.....
</Accounts>
<Sales>
......
</Sales>
</Departments>
Here I want to write XSQL to generate the tagnames (Accounts, Sales, etc) at run-time from the table.
select XMLELEMENT (???) ,,,,
Please help
Sanju