users@jaxb.java.net

Re: marshalling question --how to disable output of <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

From: Ryan Shoemaker - JavaSoft East <Ryan.Shoemaker_at_Sun.COM>
Date: Mon, 08 Dec 2003 09:25:33 -0500

yuexiang wrote:

> Hello,
>
> Is it possible to disable the output (<?xml version="1.0"
> encoding="UTF-8" standalone="yes"?>) of marshalling element?
>

If you are running JAXB v1.0.2 (JWSDP v1.3), then you can flip
the xmlDecl property[1] and disable it.

Thanks,

--Ryan

[1] http://java.sun.com/webservices/docs/1.3/jaxb/vendorProperties.html#xmldecl



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net