On 03/05/2013 10:59 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
which XML processing Lua engine is used by ConTeXt?
There are more XML processors developed for Lua - LuaXML, LuaExpat etc.
Does ConTeXt use one of these or another, or its own - a built-in one?
As I'm processing XML tables with pure Lua, too, I'd like to use only one engine in pure Lua scripts and within ConTeXt; I believe it could be possible.
Hans can give the authoritative answer, of course, but if you look into http://www.pragma-ade.com/general/manuals/mk.pdf , chapter XVII, you will see that he has indeed written his own parser, based on lpeg, and not used any of the lua libraries (I'm not a programmer, so take my word with a ton of salt, but I had a look at them and found them truly awful, compared to what, e.g., python and perl have to offer). Thomas