I have this response:
<?xml version="1.0"?>
<response xmlns="http://xml.test.com">
<test1>
<result1/>
</test1>
</response>
I have this code:
For Each node in objXML.selectSingleNode("/response").childNodes
sResult = sResult & node.xml
Next
Response.Write Server.HTMLEncode(sResult)
But this gives me:
<test1 xmlns="http://xml.test.com"> <result1/> </test1>
How do I only get the following?:
result1
No comments:
Post a Comment