I\'m having a hard time trying to indent XML files using XMLSerializer
.
I\'ve tried
serializer.setFeature(\"http://xmlpull.org/v1/doc/featur
I just wanted to make a note that Transformer.setOutputProperties(Properties)
doesn't seems to work for me (1.6.0_26_b03), but Transformer.setOutputProperty(String,String)
does perfectly.
If you have a Properties object, you might have to iterate and individually set the output property for it to work.