Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getting the "encoding" in generated xml

527177Aug 21 2006 — edited Dec 8 2006
okay i am using something like:
SELECT SYS_XMLAGG(attribxml,sys.xmlgenformatType.createFormat('hello')).getStringVal() into finalresult FROM temp

everything works fine.i get the xml looking something like

<?xml version="1.0"?>
<hello>
..
..
</hello>

The problem is i want something like
<?xml version="1.0" encoding="UTF-8"?>

at the start of the xml
( yes the encoding tag)

is this possible? i searched the forum but couldnt find something related to this.

thanks in advance

---------
i hate mondays.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2007
Added on Aug 21 2006
12 comments
16,525 views