【发布时间】:2012-09-14 13:13:45
【问题描述】:
我正在尝试解析以下 xml 数据,但我没有使用 dom 解析器获取案例内容 请让我知道我该怎么做。提前致谢。 xml数据
<result>
<options id="1">
<question>who will win</question>
<case text="A" total="23" vote="17" percent="73.91"/>
<case text="B" total="23" vote="3" percent="13.04"/>
<case text="c" total="23" vote="1" percent="4.35"/>
<case text="d" total="23" vote="2" percent="8.7"/>
</options>
</result>
【问题讨论】:
标签: android xml-parsing