本文介绍了从xml文件中检索和读取数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试从xml文件中检索数据和属性.但是我遇到了麻烦:
I am trying to retrieve data and attributes from an xml file. But I'm having trouble in:
1-从* .xml文件中检索信息.
1- retrieving info from the *.xml file.
2-读取字符串以外类型的属性.
2- reading attributes in types other than the string.
xml看起来像这样:
the xml looks like that:
<quest>
<q id=001>
<a></a>
<b></b>
</q>
</quest>
推荐答案
请问此URL 有关XML读取的更多信息.你也可以看 进入类似的线程,用于从XML检索属性值.
Could you please look into this URL for more information on XML reading. You can also look into the similar thread for retrieving attribute values from XML.
希望这会有所帮助,如果您需要进一步的帮助,请告诉我.
Hope this helps and let me know if you need further assistance.
此致
Madan Kamuju
Madan Kamuju
这篇关于从xml文件中检索和读取数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!