I receive this error:“Unable to recognize or load XML reformatter input character set”
when using the NotesDOMParser.Process method.
Here is the code snippet:
Set oHTTP = CreateObject(“Microsoft.XMLHTTP”)
oHTTP.open "GET", urlToUse, False, "", ""
oHTTP.setRequestHeader "Content-type", "application/x-www-form-urlencoded"
oHTTP.send("")
returnText = oHTTP.responseText
Set oHTTP = Nothing
Set xmlstream = s.CreateStream
xmlstream.WriteText(returnText)
Set parser = s.CreateDOMParser(xmlstream)
Call parser.Process
It errors at the Call parser.Process line.
I found a this post:
My XML doc/return text contains whitespace in some of the nodes - could this be causing the problem?
Do I have to format the XML text before I parse?
Thanks!
Dan