Try
XmlOptions xo = new XmlOptions().setSavePrettyPrint();
then xmlText(xo), will produce the desired result.
-Jacob Danner
On 6/28/07, Gustavo Aquino <[EMAIL PROTECTED]> wrote:
Hi friends,
Anyone know how i can generate my XML in Pretty format ?
Today when i generate xml using xmlText() my output is
<xml><name></name></xml>
I need that output is :
<xml>
<name></name>
</xml>
Anyone know how to pretty output ?
Best Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]