Skip to main content

Module xml

Module xml 

Source
Expand description

Native xml module for XML parsing and serialization.

Exports: xml.parse(text), xml.stringify(value)

XML nodes are represented as Shape HashMaps with structure: { name: string, attributes: HashMap, children: Array, text?: string }

Functionsยง

create_xml_module
Create the xml module with XML parsing and serialization functions.