Parse XML special characters?

前端 未结 5 921
时光取名叫无心
时光取名叫无心 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:51

    There is a free command line tool for transforming files with special characters in text to valid XML. It also assures that the file encoding matches what is specified in the declaration.

    There is also a Java developer suite that allows you to use the parser to parse such files (called XPL) as an alternative to XML or a pre-process into XML. It uses a StAX-like process called StAX-PL.

提交回复
热议问题