Re: [NTG-context] XML and Lua/Ctx
On Wed, Nov 14, 2012 at 4:44 PM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, I've read that when Ctx is to process a XML file, the whole XML tree is loaded first and processed as wanted. I'd need to process a XML file which represents an Excel workbook saved as .xml. When working in pure Lua, I'm using Expat library ( http://matthewwild.co.uk/**projects/luaexpat/index.htmlhttp://matthewwild.co.uk/projects/luaexpat/index.html) which allow to create a parser with callbacks (e.g. StartElement(), StopElement(), CharacterData()...). It processes the .xml file on-the-go. However, this solution cannot be used with Ctx as it causes Ctx to crash. Windows , Linux or MacOS ? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] XML and Lua/Ctx
On Wed, 14 Nov 2012 16:50:50 +0100, luigi scarso luigi.sca...@gmail.com wrote: However, this solution cannot be used with Ctx as it causes Ctx to crash. Windows , Linux or MacOS ? WinXP 32b -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] XML and Lua/Ctx
On Wed, Nov 14, 2012 at 4:52 PM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: On Wed, 14 Nov 2012 16:50:50 +0100, luigi scarso luigi.sca...@gmail.com wrote: However, this solution cannot be used with Ctx as it causes Ctx to crash. Windows , Linux or MacOS ? WinXP 32b hm, I'm still not good enough under windows (but I'm progressing) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___