klinesolutions
New Member
I'm getting this error when trying to parse the XML below. I'm doing this through Android in Eclipse.XMLException: SAXException: At line 1, column 0: not well-formed (invalid token)\[code\]<?phpheader('Content-type: text/xml');echo '<wardrobe><item id="1"> <path>images/pink.jpg</path> <name>pink top</name> <description>size 12 pink top</description> <category>tops</category></item><item id="2"> <path>images/bluepants.jpg</path> <name>blue trousers</name> <description>size 10 light blue trousers</description> <category>bottoms</category></item><item id="3"> <path>images/skirt.jpg</path> <name>grey skirt</name> <description>sze 10 grey skirt</description> <category>bottoms</category></item><item id="4"> <path>images/runners.jpg</path> <name>runners</name> <description>exercise runners</description> <category>shoes</category></item><item id="5"> <path>images/heels.jpg</path> <name>black heels</name> <description>dance shoes</description> <category>shoes</category></item></wardrobe>';?>\[/code\]I cannot find this invalid token and my XML looks the same as the w3schools example:http://www.w3schools.com/xml/xml_server.aspCan anybody spot this token?Please help & thank you.