I'm trying to parse the following SOAP response, but nothing works. Anyone have any ideas?
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <getStudentResponse xmlns="http://www.newatlanta.com/bluedragon/cfc/com/ziiva/prosperity"> <getStudentResult><![CDATA[<?xml version="1.0" encoding="utf-8"?> <Results> <Result> <Status>Success</Status> <Messages> <Message> </Message> </Messages> <Students> <Student> <Username>test</Username> <Password>test</Password> <FirstName>Test</FirstName> <MiddleName> </MiddleName> <LastName>Test</LastName> <Email>alexm@ziiva.com</Email> <Company>Client A....</Company> <CompanyID>Client A</CompanyID> <JobTitle>RN</JobTitle> <Phone> </Phone> <EmployeeID>test</EmployeeID> <Active>1</Active> </Student> <Student> <Username>dbergami</Username> <Password>1223</Password> <FirstName>Diane</FirstName> <MiddleName> </MiddleName> <LastName>Blake</LastName> <Email>ccc</Email> <Company>Individual</Company> <CompanyID>0</CompanyID> <JobTitle> </JobTitle> <Phone> </Phone> <EmployeeID>d</EmployeeID> <Active>1</Active> </Student> <Student> <Username>dtester</Username> <Password>dtester</Password> <FirstName>xxx</FirstName> <MiddleName> </MiddleName> <LastName>xxx</LastName> <Email>xxx</Email> <Company>Individual</Company> <CompanyID>0</CompanyID> <JobTitle> </JobTitle> <Phone> </Phone> <EmployeeID>xxx1xxx</EmployeeID> <Active>1</Active> </Student> </Students> </Result> </Results>]]></getStudentResult> </getStudentResponse> </soap:Body> </soap:Envelope>I basically just need to loop through the Students so I can compare a local variable with the Student->username