bumpkin has asked for the wisdom of the Perl Monks concerning the following question:
Hi PERL dobins my problem is I have a number of xml files i want to join to gether into 1 combined xml file the structure each xml file is as follows i believe I need to join each file with the last 'documents' TAG removed but to include it in the last joined file
<Document StartPage="1" EndPage="1" PageCount="1" Id="c9a99999-99d9-40 +f3-9ec0-d99b7be99999" Account="AZRPOS"> <Recipient FirstName="test" Surname="test" Postcode="AA6 1AA" Id=" +c9a99999-99d9-40f3-9ec0-d99b7be99999"> <AddressLines> <AddressLine>Miss test test</AddressLine> <AddressLine>1 aaaaaa bbbbbbbb</AddressLine> <AddressLine>cccccccccc</AddressLine> <AddressLine>Fife</AddressLine> <AddressLine>AA6 1AA</AddressLine> </AddressLines> </Recipient> <Options> <Option Type="Colour Mode" Value="Black" /> <Option Type="Delivery Method" Value="1st Class" /> <Option Type="Envelope Type" Value="VW" /> <Option Type="Paper Type" Value="VW - ACCPERTIG140/1" /> <Option Type="Print Both Sides" Value="No" /> <Option Type="Recipients" Value="Multiple Letters" /> </Options> </Document> </Documents>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: xml join
by jellisii2 (Hermit) on Oct 02, 2013 at 17:30 UTC | |
|
Re: xml join
by hippo (Archbishop) on Oct 02, 2013 at 15:50 UTC | |
|
Re: xml join
by graff (Chancellor) on Oct 02, 2013 at 22:35 UTC | |
|
Re: xml join
by hdb (Monsignor) on Oct 02, 2013 at 20:14 UTC |