Yea.
It comes out nicely formatted
SWarajit
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 12:03 PM
To: xerces-j-dev
Subject: RE: Format control in XMLSerializer
Thanks for your response.
Is it possible to have all XML tags in the output starting from the
beginning of the line though?
Regards,
Vlad
Swarajit Ray <[EMAIL PROTECTED]> on 07/23/2001 11:46:35 AM
Please respond to xerces-j-dev <[EMAIL PROTECTED]>
To: xerces-j-dev <[EMAIL PROTECTED]>
cc:
Subject: RE: Format control in XMLSerializer
use the following
format.setIndenting(true) ;
format.setIndent(4) ;
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 11:44 AM
To: [EMAIL PROTECTED]
Subject: Format control in XMLSerializer
Hi all,
I have a question about DOMGenerate Xerces example:
Is there a way to make XML serializer produce output:
STRXML = <person>
<name>Jeff</name>
<age>28</age>
<height>1.80</height>
</person>
I'm using DOMGenerate example and if I set indent=0 it puts all the output
in one line:
format.setOmitXMLDeclaration(true);
format.setIndenting(true);
format.setIndent(0);
STRXML
= <person><name>Jeff</name><age>28</age><height>1.80</height></person>
Any help is appreciated.
Vlad
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]