[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: XMLinLua
- From: Choonster TheMage <choonster.2010@...>
- Date: Wed, 4 Jul 2012 11:51:59 +1000
On Wed, Jul 4, 2012 at 4:25 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> I found LuaXML on the lua-users wiki. It goes from XML to Lua.
>
> The other way would be nice too. XML is so verbose …
> I could not find anything either on the wiki or by googling.
>
> So I wrote the attached. Here's a sample: the expression
>
> macro {name="author-short",
> names{variable="author",'name form="short"'} }
>
> represents the following string:
>
> <macro name="author-short">
> <names variable="author">
> <name form="short"/>
> </names>
> </macro>
>
> Comments welcome.
It looks like a neat little module. I'll have to give it a try with
WoW's XML syntax a bit later.