How to add xml spec to the XML generated using XMLBeans

I'm getting the ouput XML as 

<birthday>
        <name>arun</name>
        <date day="11" month="11" year="1980" />
</birthday>

I'm expecting an output something like 

<?xml version=1.0 encoding=UTF-8?>
<birthday>
        <name>arun</name>
        <date day="11" month="11" year="1980" />
</birthday>


Can somebody help me please.

Thanks,
Arun Kumar Dubagunta
Phone #: 516-237-4600
E-mail : [EMAIL PROTECTED]
               [EMAIL PROTECTED]


Reply via email to