Jorge Medina wrote:
>
> I need to generate -or preserve- processing instructions of a document
> when marshalling to XML.
>
> Is there any way to obtain the processing instructions of an XML
> document using the generated JAXB classes or by any other class provided
> by the JAXB API ?
I don't believe so.
> Is there any way to insert the processing instructions in the XML
> document produced by the marshalling process used by JAXB ?
>
Yes, take a look at the JAXB RI runtime xmlDeclaration property[1] for
more detail.
--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