怎么解析Version和COMPANY的值?
- XML code
<TASKREPLY><MESSAGE Type="0" > <DATA Version="1" COMPANY="2"/></MESSAGE></TASKREPLY>
------解决方案--------------------
XmlPullParser parser;
String Version = parser.getAttributeValue(0);
String COMPANY= parser.getAttributeValue(1);