We help IT Professionals succeed at work.

Salesforce - create a button to export current page as XML text file

Ed_CLP asked
I am trying to find a way to let users export select field data to a text file.  Ideally the fields should be formatted as XML to allow import to Microsoft Word 2010.  If I create a Visualforce page with only the fields for export there should be a way to do this.  Alternately, a CSV or Excel format file would also work if XML isn't possible.
Watch Question

I found a way to export a VF page to excel by setting the content-type to application/ms-excel.
No luck on getting XML to work with this method.


No responses, I came up with an alternate solution.