lua-users home
lua-l archive

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


On Wed, Feb 5, 2014 at 10:21 PM, Petite Abeille
<petite.abeille@gmail.com> wrote:
> $ ./xml2 <<\EOF
> <a1>t1<a2>t2</a2>t3</a1>
> EOF
>
> /a1=t1
> /a1/a2=t2
> /a1=t3

That is rather cute - building up dotted keys. Although on the Lua
side it cries out for using '.' instead of '/'

steve d.