Skip to content

XML Helper

Converts between XML string and object/array.

Categories: helpers

Type: xmlHelper/v1


Actions

Convert from XML String

Name: parse

Converts the XML string to object/array.

Properties

NameLabelTypeControl TypeDescriptionRequired
sourceSourceSTRINGTEXTThe XML string to convert to the data.true

Output

Type: OBJECT

Convert to XML String

Name: stringify

Writes the object/array to a XML string.

Properties

NameLabelTypeControl TypeDescriptionRequired
typeTypeSTRINGSELECTThe value type.null
sourceSource{}OBJECT_BUILDERThe object to convert to XML string.true
sourceSource[]ARRAY_BUILDERThe array to convert to XML string.true

Output

Type: STRING