Releases: manoelcampos/xml2lua
Releases · manoelcampos/xml2lua
v1.6-1 Small bug fixes
v1.5-2 - Fix attributes parsing in xml2lua.toXml()
Replaces travis-ci.org links to travis-ci.com
v1.4-5 Adds _VERSION attribute
v1.4-2 - Support for Lua 5.4
Close #49
v1.4-1: Bugfix release
Fix conversion of arrays to XML, correctly using the name of the array as tag names instead of using their indexes.
For instance, consider the following XML:
<object>
<item>item 1</item>
<item>item 2</item>
</object>
That XML is converted to the following lua table, where item
is an array:
object = {
item = {'item 1', 'item 2'}
}
Converting such a table back to XML was wrongly resulting in:
<object>
<1>item 1</2>
<2>item 2</2>
</object>
Now the conversion from the lua table returns the same XML shown at the top of this document.
v1.4-0 - Improve serialiser handling of attributes
Ensures all attributes are included when serializing a Lua table to XML.
v1.3-0 Enables converting a Lua Table to an XML representation
Introduces the xml2lua.toXml()
function to convert a Lua Table to its XML representation.
Check example4-table2xml.lua for details.
v1.1-1 Bugfix release
Just fix an issue with the rockspec file to download the module using luarocks.
v1.1-0 Adds support for Lua 5.3
Now the module works with Lua 5.1 to 5.3.
v1.0-1 Bugfix Release
Small fix in the parser.