-
Xml
Guys,
Given that the incoming data is <HEAD><MESSAGE>This is a Testing Message <From Someone></MESSAGE></HEAD> , how do I fix the problem when "<>" is in between XML tags?
Code:
If objXML.loadXML(strData) Then
For i = 0 To objXML.documentElement.childNodes.Length - 1
Select Case objXML.documentElement.childNodes(i).nodeName
Case "MESSAGE"
strMessage = objXML.documentElement.childNodes(i).Text
End Select
Next i
End If
Thank you.
KT
-
-
Thanks JoshT.
Besides that, sender can use CDATA to encapsulate the value include "<>". But the problem is that I have no control over sender's API.
Pls help. Thks
KT