xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Jacky Lu <Jacky.Lu AT Sun.COM>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] pretty printing
- Date: Thu, 08 Jan 2004 12:22:00 -0500
Hello,
I'm creating XML document using Serializer class. When the indent is set
to a positive integer, the input whitespaces(including the spaces
contained in a string value) will not be respected. E.g.
<name>bill gates</name>
will be serialized to
<name>
bill gates
</name>
The spaces between "bill" and "gates" are condensed to a single one.
How can I keep those spaces? (of course I still need pretty printing)
Thanks,
Jacky
-
[XOM-interest] pretty printing,
Jacky Lu, 01/08/2004
- Re: [XOM-interest] pretty printing, Elliotte Rusty Harold, 01/08/2004
Archive powered by MHonArc 2.6.24.