XML Parsing Error
Posted: Wed May 12, 2010 9:37 pm
I'm using Revolution to communicate with a web service. I'm receiving an XML error (see attached screenshot). It's a pretty simple xml string, so it's not evident to me what the problem is. Any suggestions?
<?xml version="1.0" encoding="utf-8"?>
<data/>
Here is the code snippet that processes it:
The XML is as follows: <?xml version="1.0" encoding="utf-8"?>
<data/>
Here is the code snippet that processes it:
Code: Select all
put revCreateXMLTree(theWebPageContent,true,true,false) into tTree
if tTree is not an integer then
answer error "Failed to process response with error " & tTree
else
put revXMLNodeContents(tTree,"data/message/messagetype") into tContents
answer tContents
end if