[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: XML Support for Penlight?
- From: Petite Abeille <petite.abeille@...>
- Date: Tue, 29 Mar 2011 18:55:01 +0200
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.