[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: XML parser with DOM-like API
- From: Egil Hjelmeland <privat@...>
- Date: Tue, 11 Oct 2011 14:53:43 +0200
Den 2011-10-10 16:03, skrev Matthew Wild:
On 10 October 2011 09:13, Eike Decker<firstname.lastname@example.org> wrote:
I am not aware of an xml lib that provides a simple access in Lua. What you
could consider however is to use Lua Expat  and use this to create a dom
like access pattern that matches exactly your needs. I think the required
code for this would be acceptably short and simple. It would probably come
closer to your actual needs than any existing library.
http://matthewwild.co.uk/projects/luaexpat/lom.html - I'm not sure it
can get much simpler (except something like XPath maybe...).
I use https://github.com/stevedonovan/LuaExpatUtils .
- Same data model as LOM in luaexpat
- Pure Lua
- has tostring() method.