I noticed there is a 'transformParameters' property of the ImportXMLPreference object that lets you pass parameters to the XSL file when you import an XML file, but I need this for exporting of XML. Is this possible? I dont see any 'transformParameters' in the ExportXMLPreference object anywhere.
Oops, I mean XMLImportPreference and XMLExportPreference.
I don't believe there is any way to do that, so on my import XSL file I added an attribute to the root node that holds the path to the export file. A cheap hack but works.