i got an xml from webservice but its not really true and the parser give me a unexpected token error,



help me... i got xml file from one web service and I want to parse it in android,but i give 'unexpected token' error,my xml is:



Latest{LatestResult=<Root>
<Version>1.0</Version>
<ReportName>Latest</ReportName>
<Reports>
<Report>
<Code>I</MarketCode>
<Date>13930506</TradeDate>
<Broker>666 </BrokerCode>

</Report>
<Report>
<Code>J</MarketCode>
<Date>13930506</TradeDate>
<Broker>666 </BrokerCode>

</Report>
<Report>

<Code>I</MarketCode>
<Date>13930506</TradeDate>
<Broker>666 </BrokerCode>
</Report>
</Reports>


i think the parser can not detect '{' and '=' at line 1???


No comments:

Post a Comment