XML to Excel component
The XML to Excel component allows you to convert XML files into Excel documents.
Basic configuration
The XML to Excel component has the following basic configuration options:
Include header
Specify whether to include a header row in the Excel output.
Options
Yes(default)No
- XML Input
- Excel Output - Yes
- Excel Output - No
<?xml version="1.0" encoding="UTF-8"?>
<breakfast_menu>
<food>
<name>food1</name>
<price>1</price>
<description>desc1</description>
</food>
<food>
<name>food2</name>
<price>2</price>
<description>desc2</description>
</food>
<food>
<name>food3</name>
<price>3</price>
<description>desc3</description>
</food>
</breakfast_menu>
"name","price","description"
"food1","1","desc1"
"food2","2","desc2"
"food3","3","desc3"
"food1","1","desc1"
"food2","2","desc2"
"food3","3","desc3"
Include index column
Specify whether to include an index column in the Excel output.
Options
YesNo(default)
using index
When enabled, the index column will always be the first column and line numbers will be unquoted.
- XML Input
- Excel Output - No
- Excel Output - Yes
<?xml version="1.0" encoding="UTF-8"?>
<breakfast_menu>
<food>
<name>food1</name>
<price>1</price>
<description>desc1</description>
</food>
<food>
<name>food2</name>
<price>2</price>
<description>desc2</description>
</food>
<food>
<name>food3</name>
<price>3</price>
<description>desc3</description>
</food>
</breakfast_menu>
"name","price","description"
"food1","1","desc1"
"food2","2","desc2"
"food3","3","desc3"
"line","name","price","description"
1,"food1","1","desc1"
2,"food2","2","desc2"
3,"food3","3","desc3"
Index column name
Specify the name of the index column. The default value is line.
note
Only available when Include index column is enabled.
Sort columns
Specify how the columns should be ordered in the Excel document (by name).
Options
Original(default)AscendingDescending
- XML Input
- Excel Output - Original
- Excel Output - Ascending
- Excel Output - Descending
<?xml version="1.0" encoding="UTF-8"?>
<breakfast_menu>
<food>
<name>food1</name>
<price>1</price>
<description>desc1</description>
</food>
<food>
<name>food2</name>
<price>2</price>
<description>desc2</description>
</food>
<food>
<name>food3</name>
<price>3</price>
<description>desc3</description>
</food>
</breakfast_menu>
"name","price","description"
"food1","1","desc1"
"food2","2","desc2"
"food3","3","desc3"
"description","name","price"
"desc1","food1","1"
"desc2","food2","2"
"desc3","food3","3"
"price","name","description"
"1","food1","desc1"
"2","food2","desc2"
"3","food3","desc3"
Excel format
Specify the format of the Excel output.
Options
XLSX (Excel 2007+)(default)XLS (Excel 97-2007)