开发者

XML Parsing issue with special characters

开发者 https://www.devze.com 2023-04-02 17:02 出处:网络
I am trying to display “Administrative File & Express” but it 开发者_Go百科is displaying as \"Express\". So I am unable to show anything that is before the “&”. You need to escape chars li

I am trying to display “Administrative File & Express” but it 开发者_Go百科is displaying as "Express". So I am unable to show anything that is before the “&”.


You need to escape chars like '&' in XML Parsing. See following link...

http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

What characters do I need to escape in XML documents?

Now check XML you are receiving. if you are not receiving chars with escape sequence then you need to handle it in your code.....

Write here if you need further details.....

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号