<?xml version="1.0" encoding="UTF-16"?>
<cust-response>
<result-response>
<load entity="CUSTOMER" id="1234">
<result-entry result-id="456" succeed="Yes">
<return F_RESULT="focused" STATUS="C" />
</result-entry>
<result-entry result-id="789" succeed="No">
<errors>
<error name="other">
<desc>
<error-message>Result cannot be validated</error-message>
</desc>
</errors>
</result-entry>
</load>
<load entity="CUSTOMER" id="5678">
<result-entry result-id="789" succeed="Yes">
<return F_RESULT="focused" STATUS="C" />
</result-entry>
<result-entry result-id="555" succeed="No">
<errors>
<error name="other">
<desc>
<error-message>Result cannot be validated</error-message>
</desc>
</errors>
</result-entry>
</load>
</result-response>
</cust-response>
I want to return a class array of the following:
CustomerId
Result-id's and succeed yes or no and if errors showing the error messages