I had some SAXParser problems handling special characters in XML.  If you find you 
want to add hand coded character handling methods,  I found the following links 
helpful:

http://www.peerfear.org/alexandria/content/html/jxr/org/apache/xalan/xpath/xml/FormatterToHTML.html

and

http://iruka.n.is.sci.toho-u.ac/others/htmlencode/SourceCodeToHyperTextConverter.java.html
  
and

http://javaalmanac.com/egs/java.lang/ReplaceString.html

----- Original Message -----
From: Akacem Mohammed <[EMAIL PROTECTED]>
Date: Mon, 27 Jan 2003 09:02:58 +0100
To: [EMAIL PROTECTED]
Subject: SAXParser throws carriage returns away

> Hello,
> 
> I have the probleme that the SaxParser when parsing a string is presumely replacing  
>\r\n   throught  \n.
> Has someone an idea how I could avoid this? I actually need the carriage return (\r) 
>because the string will be displayed later on on 
> a client (win) . ( now I am simply adding the carriage return, but I think there 
>should be a better solution).
> 
> thanks for any help
> 
> Mohammed
> 

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Meet Singles
http://corp.mail.com/lavalife

Reply via email to