I'm making a CFHTTP request which is returning the following XML in the fileContent:
<login>
<success>1</success>
<player>
<id>123456</id>
<nucleusId>28736389714</nucleusId>
<email>myemail@email.com</email>
<preferredPersona>
<id>19842082</id>
<gamertag>MyGamerTag1</gamertag>
<platform>360</platform>
</preferredPersona>
</player>
</login>
What I'm looking to do is declare ColdFusion variables for:
- player -> id
- player -> nucleusID
- player -> email
- player -> preferredPersona -> id
- player -> preferredPersona -> gamertag
- player -> preferredPersona -> platform
I've had a read around all morning but am still none the wiser on how I'd achieve this?