XMl Parsing Error Resolved special character & , ', %,$ #,<>

Posted by Kapildalke under C# category on | Points: 40 | Views : 2399
Hi All,
this is very good idea to resolving to this type of error. you do not need to convert to all the characters into some other to HTML user friendly character.
Some time what happend if you are using <,>,%,& ' this character this given a lot of problem while parsing XML.
This is a very simple method (trick)to resolved this issue.

You need to pass your values inside ![CDATA[{ANY CHARACTER YOU WANT}]]
this should be passed between angular brackets < and >.


Comments or Responses

Login to post response