Dierikx, Marc wrote:
> My generated xml file contains elements without data that do only have
> attributes. They are serialized as
> <blah att1="..." attn="...">
> </blah>
> The file should be human readable, but is quite large. For better
> readability, I'd prefer to have it serialized on one line, and
> preferrably in on tag only, so
> <blah att1="..." attn="..."/>
> Is this possible?
Yes. Search the e-mail archive with "DataWriter" and you'll find more
than a few references.
It would be nice to do this by default, probably.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com