XML Library

While the built-in xml and node methods are usually sufficient for working with xml files, there are a few operations that can be cumbersome to perform when working with complex xml files (e.g. CDA, SOAP, etc.). The xml library provides additional functions that are particularly useful for both parsing and building these xml files.

Using the Library

Import the library into your component using the image-20240621-144845.png button. This will also automatically add the require statement to the top of your main.lua:

require 'XML.XMLutils'

The library functions will automatically be added to the node.* and xml.* function tables and will be listed in the auto-completion. For each function’s usage, please check the built-in help.

Â