Marco, have a look at Marshaller.setMarshalAsDocument(boolean), as it seems to offer what you are looking for.
Thanks Werner > Hello all, > Does anyone know how can I configure Castor so that when it > Unmarshal my java object into XML, the XML declaration at top of the > file > Is omitted? > > Thanx in advance and regards > Marco -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-user
