Reputation: 1
I am parsing an XML which has links with link tags. But it gives me an error because I think the link has special characters (Also I am using string replace function for "&").
Example link: http://tizentr.net/ara/linkler_tPEE9ZwTmy0.xml
Upvotes: 0
Views: 311
Reputation: 5145
You have to replace the special characters with their entity equivalents. for example:
> becomes >
< becomes <
& becomes &
Upvotes: 1