By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 993 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

Another Transform problem

P: n/a
Hi,
I have pretty printed XML file. I transform it to DOM tree and I wont
to save it again as XML file without any white spaces (one row xml). I
am using javax.xml.transform.Transformer.
Unfortunately transformer.setOutputProperty(OutputKeys.INDENT,"n o");
does not work for me and the exit is still pretty printed with
spaces... and it is really bugging me.
Any suggestions?

Jivko
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.