NiFi Ingest 26.3
NiFi Ingest

# parse_xml

Parses an XML string to a LuaXmlDocument.

NOTE: The following character encodings are supported. If the XML uses a different character encoding, you can use the function convert_encoding to convert the encoding before parsing the XML.

- UTF-8
- UTF-16
- ISO-Latin-1 (ISO-8859-1)
- ASCII

## Syntax

    parse_xml( xml )

## Arguments

Argument | Description
--- | ---
`xml` | (string) XML data as a string.

## Returns

(LuaXmlDocument). A LuaXmlDocument containing the parsed data, or nil if the string could not be parsed.

Copyright 2018-2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery NiFi Ingest 26.3

Topic Title: parse_xml