v0.4.0 - API BREAK
use
local gen = require("xml-generator")
local elem = gen.xml.element_name {property="value"} {
}
instead of
local xml_gen = require("xml-generator")
local elem = xml_gen.generate_node(function (xml)
return xml.element_name {property="value"} {}
end)
Full Changelog: 0.3.0...0.4.0