无法读取XML

扫码查看
本文介绍了无法读取XML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

XML采用以下提到的格式

The XML is in the below mentioned format

<subbalances>
<subbalance>
<attribute name="\"balance\"" value="\"0\"" />
<attribute name="\"description\"" value="\"Prepaid_Balance_Subaccount\"" />
<attribute name="\"expireDate\"" value="\"01.01.2037\"" />
</subbalance>
<subbalance>
<attribute name="\"balance\"" value="\"536870912\"" />
<attribute name="\"description\"" value="\"EX_Subaccount\"" />
<attribute name="\"expireDate\"" value="\"12.10.2011\"" />
</subbalance>
</subbalances>


我无法使用子节点遍历此xml,并且输出始终为".


请帮助


I am not able to traverse through through this xml using child node and output is always as "".


Kindly help

推荐答案

<attribute name="balance" value="0" />



这篇关于无法读取XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 20:38
查看更多