So I have this XML doc:
<?xml version="1.0" encoding="UTF-8"?>
<Root>
<Item>
<URL>http://www.mysite.com/page?id=1</URL>
</Item>
</Root>
When I try and view the document, I get an error saying:
XML Parsing Error: not well-formed
at the = sign in the query string. I tried changing the = sign to %3D, but I get the same error at %
What am I supposed to do here?
You can try
<URL><![CDATA[http://www.example.com/page?id=1]]></URL>All text in an XML document will be parsed by the parser.
But text inside a
CDATAsection will be ignored by the parser. You can find more here.