[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: What would be a good representation of XML tree as Lua tables?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Mon, 22 Aug 2016 18:19:33 +0200
2016-08-21 20:09 GMT+02:00 Soni L. <email@example.com>:
> Treat tables as lists.
> You may want the first element to be a tag name. Alternatively you may want
> the element  to be a tag name.
> For attributes, treat them as string keys.
The above (taking the "alternatively") is what LHF's module does.