我有一个xml文件0OKvaluevaluevaluevalue我想解析我在AccountInfo中的元素,但我不知道元素标签名称。现在我正在使用并拥有此代码进行测试,但将来我会在AccountInfo中收到更多元素,但我不知道有多少名称Stringname="";Stringbalance="";NodeaccountInfo=document.getElementsByTagName("AccountInfo").item(0);if(accountInfo.getNodeType()==Node.ELEMENT_NODE){ElementaccountInfoElement=(E