lua-users home
lua-l archive

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


> Not even a minimalist XPath? :( The need to look up some items in the
> XML is quite common. If there was a Penlight XML module, I would like to
> have at least a 'getElementsByTagName' equivalent, rather than having to
> implement this by hand. Being able to specify some conditions on the
> attributes would be even better.
>

I see your point, but then when would we be able to call it 'enough'
functionality? If it simply
loads the values into a table we can query them by iterating like we
do in the rest of
our Lua code that manipulates tables... and we don't have to memorize
another interface. In
the end of the day it's more about the mindset of the coder, in Lua
people tend to like it very simple.



-- 
http://www.twitter.com/lfzawacki
http://www.linesocode.wordpress.com