How to change indentation for exporting Excel XML data?
2 answers
I don't believe there is anyway to change the indentation character (or formatting the XML record) of the Excel XmlMap export logic. If you can, consider writing a simple macro to export directly to a string variable using the ExportXml method of the XmlMap object, and then perform a simple vbTab replacement with Space (2) or whatever on the resulting string before how to write it to a file.
Good luck!
+2
a source to share