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-2286 days ago13 downloads
1.0-1294 days ago5 downloads

Dependencies

lua >= 5.4

Manifests