Skip to content

v0.4.0 - API BREAK

Compare
Choose a tag to compare
@Frityet Frityet released this 15 Sep 22:28
· 14 commits to main since this release

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