I basically want to know how to get these element values from the xml file in java set it into the Object.
Below are the sample XML file
<?xml version="1.0" encoding="UTF-8"?> <Response> <LoanApplication> <LoanId>1111</LoanId> <LoanStatus>Unsuccessful</LoanStatus> <LoanReference>111</LoanReference> </LoanApplication> <LoanApplication> <LoanId>222</LoanId> <LoanStatus>Unsuccessful</LoanStatus> <LoanReference>333</LoanReference> </LoanApplication> <LoanApplication> <LoanId>222</LoanId> <LoanStatus>Unsuccessful</LoanStatus> <LoanReference>4444</LoanReference> </LoanApplication> <LoanApplication> <LoanId>555</LoanId> <LoanStatus>Current</LoanStatus> <LoanReference>7777</LoanReference> </LoanApplication> <LoanApplication> <LoanId>3333</LoanId> <LoanStatus>Current</LoanStatus> <LoanReference>9999</LoanReference> </LoanApplication> </Response>
No comments:
Post a Comment