Skip to main content

Open Xml File

The "Open XML File" tool is used to open an XML file and retrieve its content.

Parameters

File Path: This parameter represents the path of the XML file that you want to open.

Result Document: This parameter stores the result of the opened XML document.Type : xDocument

Result Root Element: This parameter stores the root element of the opened XML document.Type : XElement

Usage

Drag and drop the Open Xml File component into your sequence or workflow.

Specify the path of the XML file that you want to open by assigning it to the "File Path" parameter.

Execute the "Open XML File" tool and provide the necessary parameters:

Assign the XML file path to the "File Path" parameter.

Prepare a variable or parameter to store the result of the opened XML document and assign it to the "Result Document" parameter.

Prepare a variable or parameter to store the root element of the opened XML document and assign it to the "Result Root Element" parameter.

Once the tool is executed, it will open the specified XML file and retrieve its content. The opened XML document will be stored in the designated variable or parameter, and the root element will be stored in another designated variable or parameter.