lua-users home
lua-l archive

Re: Simple XML Parser for Lua?

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


Please check it.
http://www.keplerproject.org/luaexpat/
http://www.keplerproject.org/luaexpat/lom.html
Premshree Pillai escribió:
Hi list,
Is there a simple XML parser (preferably DOM) for Lua? I saw the
LuaXml wiki (http://lua-users.org/wiki/LuaXml), and kinda got
confused.
My requirements are very simple:
- I need to be able to get node values for elements
(docroot['some_ele'][2].text)
- I need to be able to get attribute values
(docroot['some_ele'].attribute('foo'))
Any help would be appreciated. Thanks!

AltStyle によって変換されたページ (->オリジナル) /