2)ids for all users
local xfile = xml.load("UserXml.xml")
local users = xfile:find("user")
but this looks much heavy in real time situations and as complex as performing string matching on xml file
Could you please suggest a simpler and efficient way to achieve this using LuaXml?