lua-users home
lua-l archive

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


On Mar 29, 2011, at 12:09 AM, Henk Boom wrote:

> Is there a way to get at the child elements in their original order,
> e.g. for XHTML-type stuff?

Not sure if this is what you mean, but... e.g. get the 66th item of Lua's news.rss:

print( anXML.rss.channel.item[ 66 ].description[ '$' ] )

> Lua 5.1 released.