lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Jun 23, 2016 1:58 AM, "Dirk Laurie" <dirk.laurie@gmail.com> wrote:

> The annotated list is my favourite Lua structure, e.g.
> {shape={2,3},1,2,3,4,5,6} for a matrix. It's almost
> XML-like except that attribute sequence must not
> matter (and anyway I have yet to see a real-world
> docspec in which it does).

The order of attributes in XML is not significant.

https://www.w3.org/TR/REC-xml/#sec-starttags

Jay