xml_tree

Build a tree of Lua objects from an XML document/file.

$ luarocks install xml_tree

Provides support for building a nested tree of Lua objects that represents XML data.
Each object represents one XML element/node.
The nested tree can be walked recusively.
Support is provided for iterating children (and decendents) of a node.
Call `to_tree` in order to create a tree of objects from an XML file.
See `test01.lua` in the Github repository for examples of use.

Versions

1.0-23 days ago0 downloads
1.0-110 days ago4 downloads

Dependencies

lua >= 5.4

Manifests