XML Exception
2 posts in topic
Flat View  Flat View

Posted By:   Sujit_Sheth
Posted On:   Tuesday, July 23, 2002 01:20 AM

I am writing an application in which input data will come in the form of XML. I have to parse the string and get data from that.Data might contain control characters like "@,&,/," etc. In that case my parser throws an exception.Can anybody give the solution how to parse such thing.
Thanks in advance.

Re: XML Exception

Posted By:   Roseanne_Zhang  
Posted On:   Monday, September 2, 2002 11:43 AM

Read my answer

Re: XML Exception

Posted By:   Suhanthan_Vanniyasingam  
Posted On:   Wednesday, July 24, 2002 12:57 AM

Small correction:

XML type CDATA type will allow "/" and "@".

Only you have to take care of "&", "<" and ">" characters.

In this case use "&", "<" and ">" as the corresponding replacement in the data (XML).


Suhanthan, V.

About | Sitemap | Contact