Hi Velocity Users/Developers,

I am trying to use a velocity template through  Java to generate some XML.
All works wonderfully except that the generated XML is not well formatted.
It seems to have random white spaces before and after tags. So when looked
in a text editor it is quite difficult (non-user friendly) to read/edit.

Could anyone suggest how to tidy up the generated XML? I am aware of JTidy,
but is there any other solution?

Regards,
Nitin

Reply via email to