See Marshaller#setMarshalAsDocument
--Keith
John Ferguson Smart wrote:
>
> Hi,
> I would like to know if it is possible to marshal a Castor object so
> that the XML header block ("<?xml version="1.0"...>") is not produced?
> Basically, I have a list of objects which I load from a database or from a
> larger XML structure and which I would like to place in a smaller XML block
> for special treatment. Any ideas (apart from just stripping off the first
> line) ?
>
> Thanks,
>
> John Ferguson Smart.
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev