Title: RE: [castor-user] URGENT! how to escape 'special characters' with castor XML?

In XML the following characters must be escaped as shown:

&       &
<       &lt;
>       &gt;
'       &apos;
"       &quot;

Don't know why you're having problems with '?' I'm afraid.

regards,

Alison

-----Original Message-----
From: Marco Mistroni [mailto:[EMAIL PROTECTED]]
Sent: 23 September 2004 09:17
To: [EMAIL PROTECTED]
Subject: [castor-user] URGENT! how to escape 'special characters' with
castor XML?



Hello all,
        I have an urgent problem... I am using Castor for XML 2 java
binding, and the returned XML get messed up whenever I have characters
like '?', or '&' ...

Can anyone help me out in finding out how to avoid, or to escape those
special characters?

With best regards
        Marco



-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to