Re: xpath and current python xml libraries

2007-12-11 Thread Dmitri Fedoruk
On Dec 11, 4:03 am, [EMAIL PROTECTED] wrote: > PyXML seems to be long gone. Is lxml the way to go if i want to have > xpath supported? Of course. Lxml proved itself as a very convenient xml & xslt processing tool. Dmitri -- http://mail.python.org/mailman/listinfo/python-list

Re: lxml + mod_python: cannot unmarshal code objects in restricted execution mode

2007-09-14 Thread Dmitri Fedoruk
On Sep 14, 3:04 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > Try forcing mod_python to run your code in the first interpreter > instance created by Python. > PythonInterpreter main_interpreter Thank you very much, that solved the problem! A more detailed discussion can also be found in the l

Re: lxml + mod_python: cannot unmarshal code objects in restricted execution mode

2007-09-13 Thread Dmitri Fedoruk
On Sep 13, 5:05 pm, Dmitri Fedoruk <[EMAIL PROTECTED]> wrote: > So, my configuration is the following: > Python 2.5.1 > Server version: Apache/2.2.4 (FreeBSD) > mod_python-3.3.1 update: lxml-1.3.4 libxslt-1.1.21 libxml2-2.6.29 -- http://mail.python.org/mailman/listinfo/python-list

lxml + mod_python: cannot unmarshal code objects in restricted execution mode

2007-09-13 Thread Dmitri Fedoruk
Hello everyone, I'm developing a mod_python application that is based on XML\XSLT transforming. I used 4Suite libraries for that, but as the speed was unacceptable for me, I switched to lxml. Everything became much easier and 10 times faster, but I've encountered the subject problem. In brief -