EasyXLS

Convert Excel file to XML

Concept

EasyXLS™ library allows you to convert an Excel file to XML. The Excel file can be in XLSX, XLS, XLSM or XLSB file format.

EasyXLS can be successfully used inclusively to convert large Excel files to XML, Excel files with big volume of data with fast converting time.

EasyXLS permits you to convert Excel to XML file without Excel installed, without Interop or any other additional software installed.

Basically, the Excel sheet data is converted to XML. The sheet can be specified by name or it can be the active sheet. The entire sheet data can be added to XML or only a range of cells.

The generated XML document structure is described in the EasyXLS.xsd schema file.

Concept in action

The below example is a common code about how to convert Excel file to XML.

Source code sample

C#.NET
VB.NET
C++.NET
J#.NET
Java
PHP
ASP
C++
VB6
VBS
Coldfusion

Convert XLS to XML

EasyXLS allows you to convert Excel XLS file to XML. Similarly, as shown in the above code sample, using ExcelDocument.easy_ReadXLSSheet_AsXML method or ExcelDocument.easy_ReadXLSActiveSheet_AsXML method, the XLS file can be converted to XML file.

Convert XLSX to XML

EasyXLS allows you to convert Excel XLSX file to XML. The above code sample shows how to achieve this goal, by using ExcelDocument.easy_ReadXLSXSheet_AsXML method or ExcelDocument.easy_ReadXLSXActiveSheet_AsXML method.

Convert XLSM to XML

EasyXLS allows you to convert Excel XLSM file to XML. Similarly, as shown in the above code sample, using ExcelDocument.easy_ReadXLSXSheet_AsXML method or ExcelDocument.easy_ReadXLSXActiveSheet_AsXML method, the XLSM file can be converted to XML file.

Convert XLSB to XML

EasyXLS allows you to convert Excel XLSB file to XML. Similarly, as shown in the above code sample, using ExcelDocument.easy_ReadXLSBSheet_AsXML method or ExcelDocument.easy_ReadXLSBActiveSheet_AsXML method, the XLSB file can be converted to XML file.

Convert Excel sheet to XML

The data inside a sheet can be converted to XML. The sheet can be identified by the sheet name or it can be the active sheet. If the Excel file was already loaded in memory using one of the methods that loads the Excel file, also ExcelDocument.easy_ReadExcelWorksheet_AsXML method can be used.

Convert Excel cell range to XML

EasyXLS enables you to convert Excel data either from the entire sheet or from a range of cells. Specifying only a range of cells is a very useful option especially for large Excel files because it reduces the speed of the conversion process.

All the methods that allow reading Excel files to XML have parameters that permit reading only a range of cells.

Getting started with EasyXLS Excel library

To download the trial version of EasyXLS Excel Library, press the below button:

Download EasyXLS™ Excel Library for .NET and Java

If you already own a license key, you may login and download EasyXLS from your account.



Available for: Professional, Reader
Go to top

EasyXLS Excel libraries:

.NET
.NET Excel Library
full .NET version to import, export or convert Excel files
.NET Excel Reader
.NET version to read and import Excel files
COM+ Excel Component
full COM+ version to import, export or convert Excel files
COM+ Excel Reader Component
COM+ version to read and import Excel files
-
Java
Java Excel Library
full Java version to import, export or convert Excel files
Download EasyXLS™ Excel Library for .NET and Java

File formats:

MS Excel 97 - 2003
MS Excel 2007 - 2010
MS Excel 2013
MS Excel 2016
MS Excel 2019
XLSX XLSM XLSB XLS
XML HTML CSV TXT