L_jiang
13 years agoNew Contributor
Get the exception error when using selectSingleNode to get the request
When i try to get the request data and locate the special element, i got the error :
Set Doc = Request.SOAPRequest.DOMBody
Set Doc = Doc.documentElement
' Finds the element you want to change
log.Message(Doc.xml)
Set Elem = Doc.selectSingleNode("//child::*[name()='star:DocumentID']")
got the error here :
An exception occurred in the "Testing" unit at line 37:
msxml3.dll
Expected token 'eof' found ':'.
//child-->:<--:*[name()='star:DocumentID'