从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>
答
Hello Samer,
Hello Samer,
请问此URL 有关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