Parse Xml to get attribute value in android using android SAX packages mathods

只愿长相守 提交于 2020-01-15 12:48:10

问题


I am parsing an XML file in which certain element having attributes. Is there any way to get the attribute value using methods given in android SAX package?


回答1:


Here's my real answer. :) You probably meant android.sax.

Then you need to add a StartElementListener and in start() you'll find your Attributes.



来源:https://stackoverflow.com/questions/6070674/parse-xml-to-get-attribute-value-in-android-using-android-sax-packages-mathods

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!