How to add xml spec to the XML generated using XMLBeansSave your xml towards an Outputstream and you will get it.
Regards, Bruno ----- Original Message ----- From: Arunkumar Dubagunta To: [email protected] Sent: Wednesday, February 28, 2007 12:13 AM Subject: How to add xml spec to the XML generated using XMLBeans 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] ------------------------------------------------------------------------------ This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.

