XML Problem
A partner firm needs to pass me some xml information and I need to get that info and run queries with the UserID in the passed info.
They pass me this xml
<Request>
<Header>
<UserId>phutch</UserId>
<Token>08012011T1149034</Token>
</Header>
</Request>
I am trying to retrieve the UserId from the xml file using <cfdump var="#GetHttpRequestData()#">
I was hoping that I could get the xml info from the GetHttpRequestData() tag but I get an error message
"The markup in the document following the root element must be well-formed.
Nested exception: The markup in the document following the root element must be well-formed."
I think the error might be because this line of code is not at the beginning of the xml passed to me.
<?xml version="1.0" encoding="iso-8859-1"?> or
<?xml version="1.0" encoding="utf-8"?>
Anyway. Does anyone have any ideas on how I could extract the UserId from the above xml?
