2009/3/3 Nitin Nahata <[email protected]>:
> 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.

I know that this might sound stupid, but why don't you format it with
an advanced editor?
For instance, Eclipse can format XML files.

Just my 2 eurocents.

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to