从 XMLDOCUMENTt 中删除 SOAP Envelepoe 和soap Body 元素
有没有一种简单的方法可以删除
<soap:Envelope xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
<soap:Body>
<input1>jsdhkfh</input1>
</soap:Body>
</soap:Envelope>
TO
<input1>jsdhkfh</input1>
我需要转换的 XMLDocument 对象。
is there a easy way to remove the
<soap:Envelope xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
<soap:Body>
<input1>jsdhkfh</input1>
</soap:Body>
</soap:Envelope>
TO
<input1>jsdhkfh</input1>
i have XMLDocument object that i need to transform.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
直接输入,因此可能会有一些语法错误,但至少给你一个想法。
typing directly thus there could be some syntactic errors but atleast give you the idea.