Sections III - VI and VIII - X pertain to information about "borrowers" –
borrower demographics, current and previous addresses, current and previous
employment information, income, assets, liabilities, etc.
Section III in particular deals with borrower demographics and
current/previous addresses. Since the fields are exact replicas for both the
"borrower" and the "co-borrower", the following XML representation was the
logical approach:
<Application>
...
<Borrowers>
<Borrower Borrower_Type="1|2">
<Borrower_Type_Description>
<Title>
<First_Name>
<Middle_Name>
<Last_Name>
<SSN>
<Phone>
<DOB>
<Years_School>
<Marital_Status>
<Marital_Status_Description>
<Dependents>
<Dependents_Ages>
<Addresses>
<Address Address_Sequence="1|2|3">
<Type>
<Type_Description>
<Address_1>
<Address_2>
<City>
<State>
<Postal_Code>
<Number_Years>
</Address>
...
</Addresses>
</Borrower>
...
</Borrowers>
...
</Application>(Borrower_Type, Borrower_Type_Description), (Marital_Status,
Marital_Status_Description) are the (name, value) pairs (?)
in the <Borrower> element. (Type, Type_Description)
is the (name, value) pair (?)
in the <Address> element.
Values for the Address_Sequence attribute are
self-explanatory. 1 would represent the "present address", 2 would
represent the first "former address" listed on the application while 3
would represent the second "former address".