Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在解析一个带有链接标签的链接的 XML。但它给了我一个错误,因为我认为链接有特殊字符(我也在使用字符串替换函数来表示“&”)。
示例链接:http ://tizentr.net/ara/linkler_tPEE9ZwTmy0.xml
您必须将特殊字符替换为其实体等价物。例如:
> becomes > < becomes < & becomes &