I'm assuming "flat" means that the XML is all on one line with no pretty carriage returns between each data element. Sort of like:
<column1>2adfad</column1><column2>adfeoue</column2><column3>etouen</column3>
If that's not what the OP means by the term, then please correct me.