i have a xml file (local ) that stored in : /assets
I'm using XMLpulparser to parse that xml but in my LogCat i have these problem's :
here is my xml file :
<?xml version="1.0" encoding="utf-8"?>
<countries>
<country>
<name>Iran</name>
<phonecode>+98</phonecode>
<code>IRI</code>
</country>
<country">
<name>United State</name>
<phonecode>+1</phonecode>
<code>USA</code>
</country>
It is giving you that error because there is a " sign on the second country start tag. Also seems to be missing a countries closing tag at the end of the file.