lua-users home
lua-l archive

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


Hey Guys,

Please search the archives, Roberto posted a xml parser written awhile back and Steve Dekorte also worte something.

/Erik

Asko Kauppi wrote:


What I mean by 'seamless' is really, truly, that. Like dofile( "mydata.xml" ) and getting a Lua table returned. Hmm.. anyone up for it?


30.1.2005 kello 13:47, PA kirjoitti:


On Jan 30, 2005, at 12:34, Asko Kauppi wrote:

You surely meant "Lua+XML = unnatural love?" 8^)

Instead of fighting the XML world, I think it'd be best for Lua to be recognized as an "integrates well with XML" product. I mean, reading in XML _seamlessly_ into Lua tables, and output, too.


"Resistance if futile, you will be assimilated"
-- The Borg

I will be needing this shortly, since working with XML in C is .. tedious. Anyone care to promote their favorite XML binding, I'll be listening. :)


Looks like there is a Expat binding:

http://luaforge.net/projects/luaexpat/

SAX if rather low level, but perhaps that would work for you?

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/