I seem to remember using org.apache.commons.lang.StringEscapeUtils for
this, also have a snippet of vbscript which replaces characters with
html entities

            val = Replace(val, "&", "&")
            val = Replace(val, "'", "'")
            val = Replace(val, "&", "&")
            val = Replace(val, """", "\""")
            val = Replace(val, "<", "&lt;")
            val = Replace(val, ">", "&gt;")

Robert Costello
Lead Systems Engineer
IMA Performance
E3- 279A
847.286.0910
 
 

-----Original Message-----
From: botype [mailto:[email protected]] 
Sent: Thursday, January 22, 2009 4:33 AM
To: [email protected]
Subject: Escape special character


Hello Every body,
 
I'am new to xmlbeans and i would like to ask you about it. I want to
escape
some special characteres like "&gt;" and "&quot"..etc with xmlbeans but
i
didn't find the solution for that and i can't use XmlOptionCharEscapeMap
because the release of xmlbeans that i'm using is 1.0.4.
Can you help me to resolve this probleme please.
 
Thanks,
 
Best regards,
-- 
View this message in context:
http://www.nabble.com/Escape-special-character-tp21601586p21601586.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to