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

In reply to Re^4: XML-Twig - AS5.6.1 vs AS 5.8.8 by drmikec
in thread XML-Twig - AS5.6.1 vs AS 5.8.8 by drmikec

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.