Parse XML special characters?

前端 未结 5 873
时光取名叫无心
时光取名叫无心 2021-01-23 21:36

From the last 2 days I am searching that how to parse XML with special chars like !@#$%^&*()\':;\", but I am not getting anything sufficient that how to implement it.. Can a

5条回答
  •  北恋
    北恋 (楼主)
    2021-01-23 21:52

    You can try something like this, that is giving the reference for that special character.

    Character Reference
    
    &   -   &
    <   -   <
    >   -   >
    "   -   "
    '   -   '
    

    UPDATE:

    I had already answered in your question here so have a look at the Answer.

提交回复
热议问题