【发布时间】:2015-10-21 06:54:26
【问题描述】:
请任何人建议我如何解析这个复杂的 xml 数据。我已经尝试过
很多方法,但我无法获取内部的配置文件和服务器标签
profiles.I 试过这个链接http://www.androidhive.info/2011/11/android-
xml-parsing-tutorial/
提前感谢您的代码和可爱的建议。请帮助我....
<analec>
<emails>
<email regex="*@analec.com" profilId="1" order="1"/>
</emails>
<profiles>
<profile name="ANALEC ClientManager (AWS)" ID="1">
<server name="AWS Host" order="1" endpoint="https://ec2-54-191-187-206.us-
west- 2.compute.amazonaws.com/" ssl="true" ignoreSSLErrors="true"/>
<server name="AWS IP" order="2" endpoint="https://54.191.187.206/"
ssl="true" ignoreSSLErrors="false"/>
</profile>
</profiles>
</analec>
【问题讨论】: