TOP

Function TableToXml

TABLETOXML() Description

The TABLETOXML() function is designed for quick conversion of tabular values into XML text format. It automatically structures data in the form of hierarchical tags that clearly define each element of the table.

The obtained result is perfectly suitable for exchanging data between various information systems and storing configurations.


Key Features of the TABLETOXML Function

Syntax:

=TABLETOXML(Range; [RootElement]; [RowElement])

Parameters:

Example of Usage

The TABLETOXML() function is easy to use. You just need to select a table or specify any range of cells with values and Excel (Calc) will automatically return the text in "XML" format:

=TABLETOXML(Range; "Countries")

We will get the following result:

Example of TABLETOXML() function usage
Example of TABLETOXML() function usage

In this example, the following values are used:

Download extension

You can use the function TABLETOXML() by installing the extension YLC Utilities.

After that, this function will be available in all files that will be opened in Excel (LibreOffice Calc).


This function is available in the following extensions: YLC LightYLC FunctionsYLC Utilities

The YLC Utilities menu in LO Calc

The YLC Utilities menu in LO Calc

The YLC Utilities menu in Excel

The YLC Utilities menu in Excel