Is there a generic XML parser that crerates a flat file with data elements only?

I'm a mainframe programmer and would like to know if there is a generic XML parser that creates a plain old flat file with data elements only? Thanks.
By definition, a parser reads, not generates output. If you want to create a file, you can simply write to the output stream.

This was first published in June 2003