lua-users home
lua-l archive

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


On Tue, Mar 29, 2011 at 6:55 PM, Petite Abeille
<petite.abeille@gmail.com> wrote:
> print( anXML.rss.channel.item[ 66 ].description[ '$' ] )

Ah, but if it were XHTML, then the single key $ could not describe the
text in general:

<div>hello <b>dolly</b> you're so fine </div>

What's '$' for that div element?

Also, the table merging means that the original order is lost.

But, a lovely notation for a common enough case.

steve d.