SaviCellsPro (SCP) is a product designed to move data to Excel, PDF, and HTML from any program that can create text files. SaviCellsPro relies on an XML file for its commands.
It has utilities to automatically extract information from an existing Excel workbook and use that to generate the initial XML saving a developer time. Go into Excel, mock up a template/file then use the SaviCellsPro utility to generate the XML needed to recreate the workbook. That XML can then be created using any application that can generate text (SAS, Python, perl, COBOL, JavaScript, Java, PHP).