On Thu, 2011-01-06 at 13:51 +1100, Tom Deckert wrote: > Original file looks like: > <?xml version="1.0"?> > <!DOCTYPE BigFile SYSTEM "BigFile.dtd"> > <BigFile> > <TrivialHeader> blah </TrivialHeader> > <Datum> A couple hundred thousand Datum elements.</Datum> > <Datum> 'Datum' are non-trivial, containing extensive subtrees.</Datum> > <Datum> ...etc... </Datum> > <TrivialFooter> blah </TrivialFooter> > </BigFile>
XML is plain text, use a text tool. If the line breaks are as indicated, use split(1) and then hand edit the headers and footers. -- Regards Peter Miller <pmil...@opensource.org.au> /\/\* http://miller.emu.id.au/pmiller/ PGP public key ID: 1024D/D0EDB64D fingerprint = AD0A C5DF C426 4F03 5D53 2BDB 18D8 A4E2 D0ED B64D See http://www.keyserver.net or any PGP keyserver for public key. "As we said in the preface to the first edition, C 'wears well as one's experience with it grows.' With a decade more experience, we still feel that way." -- Brian Kernighan and Dennis Ritchie -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html