Thanks for your previous response and this one, runrig. Here is the head of the original file. All of the tags that are opened above the <Aging> tag are subsequently closed properly. Names have been changed to protect the innocent:
<?xml version="1.0" encoding="ISO-8859-1"?>
<Root>
<Billing>
<STMT_HDR.AR>
<StatementDate>20060228</StatementDate>
<PreviousDate>20060131</PreviousDate>
<DueDate>20060331</DueDate>
<TransactionThruDate>20060228</TransactionThruDate>
<MemberId>
<MemberNumber>1000</MemberNumber>
<MemberInfo>
<MemberName>Mickey Mouse</MemberName>
<Address>
<Address1>6340 Disney Lane</Address1>
<Address2>P.O. Box 730</Address2>
<Address3></Address3>
<City>Orlando</City>
<State>FL</State>
<ZipCode>33333</ZipCode>
</Address>
</MemberInfo>
<BillingInfo>
<PreviousBalance>2371.28</PreviousBalance>
<ChargeTotal>567.78</ChargeTotal>
<PymtAdjustTotal>2371.28</PymtAdjustTotal>
<EndingBalance>567.78</EndingBalance>
<AutomaticBilling>
<Minimum>False</Minimum>
<BillingCode></BillingCode>
<BillingBalance></BillingBalance>
</AutomaticBilling>
<Aging>
<BAL_30 Period="1">0.00</BAL_30>
<BAL_60 Period="2">0.00</BAL_60>
<BAL_90 Period="3">0.00</BAL_90>
<BAL_120 Period="4">0.00</BAL_120>
<BAL_150 Period="5">0.00</BAL_150>
<BAL_180 Period="6">0.00</BAL_180>
</Aging>
Here is the result of the modifications:
All is the same prior to this point -
<BillingInfo>
<PreviousBalance>2371.28</PreviousBalance>
<ChargeTotal>567.78</ChargeTotal>
<PymtAdjustTotal>2371.28</PymtAdjustTotal>
<EndingBalance>567.78</EndingBalance>
<AutomaticBilling>
<Minimum>False</Minimum>
<BillingCode></BillingCode>
<BillingBalance></BillingBalance>
</AutomaticBilling>
<Root> <--This is the question
<Aging>
<BAL_30 Period="1">0.00</BAL_30>
<BAL_60 Period="2">0.00</BAL_60>
<BAL_90 Period="3">0.00</BAL_90>
</Aging>
Your help is greatly appreciated.
-Mike |