I agree with you ...
On 4/15/08, Chris Burdess <dog@bluezoo.org> wrote:
> Others on this list have suggested using an XSLT transform or JAXB,
> which are pretty heavyweight solutions for achieving a simple thing.
>
> Since version 1.6, Java has supported the javax.xml.stream package,
> so the most straightforward way would be to use an XMLStreamWriter
> assuming you're happy with using this version of Java.
>
> http://java.sun.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html
> --
> Chris Burdess
>
--
Regards,
Mukul Gandhi