Hi Maarten,
Thanks for the help. To answer your query, I am not much sure much about it, however you can use the following to see whether the attributes are printed in next line or not.
code snippet is given here.....
XmlOptions mvOptions = new XmlOptions();
mvOptions.setSavePrettyPrint();
mvItemSpecDocument.save(new FileOutputStream(someFileName),mvOptions);
Warm Regards,
Sujoy Banerjee
Tata Consultancy Services Limited
Plot B-1, Block EP & GP
Sector - V, Salt Lake Electronics Complex
Kolkata - 700 091,West Bengal
India
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
| maarten <[EMAIL PROTECTED]>
06/15/2005 02:25 PM
|
|
Hello,
How can I force xmlbeans to write attributes on a new line ?
I found some output formatting options in XmlOptions, but nothing to
force attributes to be on a new line.
Thanks,
Maarten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ForwardSourceID:NT0000D6EA
| Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |

