Hi,
the mapping is this:
<field name="foo" type="string"
handler="com.foo.XmlFieldHandler">
<bind-xml name="foo" node="element" />
</field>
and the Fieldhandler the one described here:
http://www.castor.org/how-to-unmarshal-raw-xml.html
The xml is still escaped while marshalling.
Thank you
> -----Original Message-----
> From: Ralf Joachim [mailto:[email protected]]
> Sent: Dienstag, 10. August 2010 19:01
> To: [email protected]
> Subject: Re: [castor-user] Marshalling Strings which are xml
>
> Hi ???,
>
> have you already had a look at:
>
> http://www.castor.org/how-to-unmarshal-raw-xml.html
>
> While the how-to is about unmarshaling I guess some of the information
> can be applied for marshaling too. If you still have
> problems, could you
> please post the relevant part of your mapping?
>
> Regards
> Ralf
>
> [email protected] schrieb:
> > Hi,
> >
> > when I marshall a String field which contains XML, the XML
> gets escaped. How
> > can I disable this?
> >
> > Thank you
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> > http://xircles.codehaus.org/manage_email
> >
> --
>
> Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
> Ralf Joachim
> Raiffeisenstraße 11
> 72127 Kusterdingen
> Germany
>
> Tel. +49 7071 3690 52
> Mobil: +49 173 9630135
> Fax +49 7071 3690 98
>
> Internet: www.syscon.eu
> E-Mail: [email protected]
>
> Sitz der Gesellschaft: D-72127 Kusterdingen
> Registereintrag: Amtsgericht Stuttgart, HRB 382295
> Geschäftsleitung: Jens Joachim, Ralf Joachim
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email