[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: What would be a good representation of XML tree as Lua tables?
- From: Marc Balmer <marc@...>
- Date: Sun, 21 Aug 2016 17:37:02 +0200
> Am 21.08.2016 um 16:53 schrieb Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
>
>> I am working on code to easily create XML trees from Lua tables. What would,
>> in your opinion, be a comfortable Lua table notation of XML trees, expressed
>> as Lua tables?
>
> You may want to have look at what my lxml does:
> http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/index.html#lxml
>
> The sample code in test.lua cleans the raw xml->Lua conversion but it is
> just that, sample code.
>
Thanks for the link. It says it is a library to parse xml into Lua tables, I am
actually looking for the other directions: A "cozy" table notation that is
handed to a function which produces XML.