节点的问题.
<?xml version= "1.0 " encoding= "utf-8 "?>
<soap:Envelope xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd= "http://www.w3.org/2001/XMLSchema " xmlns:soap= "http://schemas.xmlsoap.org/soap/envelope/ ">
<soap:Body>
<BIC_SendMessageQueue xmlns= "http://tempuri.org/ ">
<Str_Mac> string </Str_Mac>
<Str_Code> string </Str_Code>
<A_Phone>
</A_Phone>
<Str_Phs> string </Str_Phs>
</BIC_SendMessageQueue>
</soap:Body>
</soap:Envelope>
请问怎么定义 <A_Phone> 这个节点的内容是数组类型,最好能给例子..
[解决办法]
数组类型好象不行吧。
可以这样
<A_Phone>
<AP> </AP>
<AP> </AP>
<AP> </AP>
<AP> </AP>
</A_Phone>
然后childNodes循环取。