![](https://secure.gravatar.com/avatar/d6e7462bd4209f9c4cd08271985a50df.jpg?s=120&d=mm&r=g)
Hello, I'm having problem using LuaXml library with Ctx, both using Lua ver. 5.2. LuaXml works fine with Lua standalone programs/scripts; but something weird occurs when used from within Ctx (e.g. a .xml file can be read successfully from standalone Lua with LuaXml lib; but the same code doesn't give the desired result when used in combination with Ctx; a problem might be version mismatch - I'm still using both Lua 5.1 and 5.2 including 3rd party modules in my scripts - but my latest tests with Ctx & LuaXml should have avoid this; or namespace mismatch...?). Anyway, does native Ctx XML API (has it its own namespace, like 'context.xml'?) provide a function to load a .xml file and to return its XML tree as a table, with nodes (as a table with node attributes as table members) in a proper sequence... something like LuaXml's 'xml.load("file.xml")' does? Or how to achieve this in a best way under Ctx: XML file -> Lua table/tree? Best regards, Lukas -- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038