XML前缀和selectSingleNode的问题(300分)(100分)

  • 主题发起人 liu12345
  • 开始时间
L

liu12345

Unregistered / Unconfirmed
GUEST, unregistred user!
我用的是:MSXML2_TLB
现在有个问题,就是XML中有前缀,如:<SOAP:BODY>的时候,就不能用selectSingleNode,我知道有个办法就是关联个命名空间管理(NamespaceManager)
但是里面有IVBMXNamespaceManager和IMXNamespaceManager,不知道怎么用,请熟悉的高手给个例子(要delphi的),如果搞定立马送300分阿!!
 
I

ivy1982

Unregistered / Unconfirmed
GUEST, unregistred user!
300分 没人要呀 帮顶
 
L

liu12345

Unregistered / Unconfirmed
GUEST, unregistred user!
我的文档结构是:
<?xml version=&quot;1.0&quot;
encoding=&quot;GBK&quot;
?>
- <soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
soap:encodingStyle=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot;>
- <soap:Header>
- <out:system xmlns:eek:ut=&quot;http://www.molss.gov.cn/&quot;>
<result sessionID=&quot;EYwAB15RkOYcrFSYhgxC4Y2oZbq1DAoB90XxNQcc&quot;
/>
<result username=&quot;测试用户&quot;
/>
<result producttype=&quot;&quot;
/>
</out:system>
</soap:Header>
- <soap:Body>
+ <out:business xmlns:eek:ut=&quot;http://www.molss.gov.cn/&quot;>
<result ab=&quot;12334&quot;
/>
<result cd=&quot;null&quot;
/>
<result ef=&quot;null&quot;
/>
<result partID=&quot;12345&quot;
/>
- <resultset name=&quot;ACL&quot;>
<row id=&quot;0&quot;
/>
<row id=&quot;1&quot;
/>
</resultset>
</out:business>
</soap:Body>
</soap:Envelope>
 
L

liu12345

Unregistered / Unconfirmed
GUEST, unregistred user!
高手在哪里呀,高手在哪里???????????????????
delphi正的要灭亡了吗?怎么没有人回答我
 
顶部