Given the XML sampe below, how would I loop through all of the borrowers in
the XML document in order to process the attributes:
<REQUEST_GROUP MISMOVersionID="2.1.1" InternalAccountIdentifier="">
<REQUEST RequestDatetime="2003-12-08T09:37:28>
- <REQUEST_DATA>
<BORROWER _FirstName="BNUM1" _LastName="LNAME1" />
- <BORROWER _FirstName="BNUM2" _LastName="LNAME2" />
</REQUEST_DATA>
</REQUEST>
</REQUEST_GROUP>
// In this example, I would like to process the BORROWER attributes for both
borrowers... how?
node = xml.SelectSingleNode("REQUEST_GROUP/REQUEST/REQUEST_DATA/BORROWER",
nsMgr);
if (node != null) { fn = node.Attributes["_FirstName"].Value; }
if (node != null) { ln = node.Attributes["_LastName"].Value; }