Chapter 3. xls2xml Program

Table of Contents
Usage
Sample output

Usage

This program reads a file generated by Microsoft Excel and generate a representation of its contents using XML.

Usage:

xls2xml xlsFILE [xmlFILE] [--refmode=(A1|R1C1|default)] [--level=(all|normal)]

xlsFILE. It's the only required parameter. It's the file name of the file generated by Microsoft Excel.
xmlFILE. It's the file name where the XML result is stored. If it is ommited, the result is written in the standard output.
--refmode=(A1|R1C1|default). Which cell reference mode will be used: A1 is the most common, R1C1 is also available, and default is the reference mode used in the file generated by Microsoft Excel.
--level=(all|normal). How much content will be extracted.