I'm using PHP and since this server response is not pure XML I've been struggling with trying to turn the responses into variables/arrays for use.
I'm only concerned with the variable contained in the XML tree. There can be multiple containers (like ) and the will vary in quantity also. There also might me more "nesting" withing the various also (I believe).
Server Response Example:
HTTP/1.1 200 OK
Date: Wed, 07 Dec 2011 01:02:01 GMT
Server: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e DAV/2 PHP/5.2.17
X-Powered-By: PHP/5.2.17
Cache-Control: no-store, no-cache, no-transform, must-revalidate, private
Expires: 0
Vary: Accept-Encoding,User-Agent
Content-Length: 90
Connection: close
Content-Type: text/xml
<?xml version="1.0" encoding="UTF-8"?>
<response>
<var1>AAA</var1>
<var2>BBB</var2>
<var3>CCC</var3>
</response>
Thanks.