A minimal set of XML processing function in Lua, with simple mapping between XML and Lua tables