in reply to Re^2: Processing XML with MediaWiki::DumpFile
in thread Processing XML with MediaWiki::DumpFile

The recommendation helped a lot-- I switched to generating the reduced file using XML::Writer and now it reads back as valid XML. The wikimedia parser won't read it, but that's not a problem, as there are a lot of XML parsers available. It only took a couple lines of code to get it to read back the output file and dump it to another file.
  • Comment on Re^3: Processing XML with MediaWiki::DumpFile