lua-users home
lua-l archive

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



> -----Original Message-----
> From: Scott Morgan [mailto:blumf@blumf.freeserve.co.uk]
> Sent: Thursday, July 03, 2003 10:04 AM
> To: Lua List
> Subject: Representing XML in tables
> 
> Has there been any standerd way of representing a XML document in a
lua
> table structure defined yet?
> 
> I'm thinking about the actual structure of the document rather than
> things like Unicode issues and parsing.
> 
> i.e. XML like this:
> 
> <person id="1234">
>   <name>
>     <first>John</first>
>     <last>Smith</last>
>   </name>
> </person>

person = { id="1234"; name={ first="John", last="Smith" } }