[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: XML Support for Penlight?
- From: Lucas Zawacki <lfzawacki@...>
- Date: Mon, 28 Mar 2011 15:41:16 -0300
> 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.