Hi Kenneth,

If you are using org.apache.xml.serialize.XMLSerializer, then try
setting the OutputFormat object's "preserve-space" attribute to false.

If you are using XSLT serialization, try adding the tag
<xsl:strip-space elements="*"> as a direct child of the <xsl:stylesheet>
tag.

If this doesn't solve the problem, I suggest you include a little more
information about your configuration and the results you are getting.
Your rather minimal original email makes it a bit difficult to offer
good suggestions :-)

Hope this helps,

Simon

On Sun, 2002-11-24 at 02:32, Flurchick, Kenneth M wrote:
> GentleBeings
> I have a simple (I think) issue
> I am trying to write out an xml file I created
> made the nodes and set up a writer
> the xml file has no indentations though I specifically turned it on
> Got a snippet to do this correctly
> DO I need a transfomer to do this?
> kf


Reply via email to