Skip to content

Releases: manoelcampos/xml2lua

v1.6-1 Small bug fixes

03 Feb 13:32
7e36b2e
Compare
Choose a tag to compare

Contributions from @nilzao and @doj
Thank you all.

v1.5-2 - Fix attributes parsing in xml2lua.toXml()

13 Jul 13:25
b24be89
Compare
Choose a tag to compare
Replaces travis-ci.org links to travis-ci.com

v1.4-5 Adds _VERSION attribute

03 Mar 14:47
fddd893
Compare
Choose a tag to compare

v1.4-2 - Support for Lua 5.4

18 Sep 16:30
cb92513
Compare
Choose a tag to compare

v1.4-1: Bugfix release

17 Sep 14:39
42f9b60
Compare
Choose a tag to compare

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

27 Jul 13:29
89376e5
Compare
Choose a tag to compare

Ensures all attributes are included when serializing a Lua table to XML.

v1.3-0 Enables converting a Lua Table to an XML representation

14 Aug 13:17
fa711dc
Compare
Choose a tag to compare

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

12 May 12:18
b8d20c9
Compare
Choose a tag to compare

Just fix an issue with the rockspec file to download the module using luarocks.

v1.1-0 Adds support for Lua 5.3

11 May 19:44
70fd996
Compare
Choose a tag to compare

Now the module works with Lua 5.1 to 5.3.

v1.0-1 Bugfix Release

08 Jan 22:17
b535a15
Compare
Choose a tag to compare

Small fix in the parser.