Re: [xml] No module named libxml2mod

2013-02-20 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20.02.2013 08:56, John Brown wrote: Hello all, When I try to `import libxml2mod` in a python script, the message `ImportError: No module named libxml2mod' is displayed. Process Monitor (www.sysinternals.com) tells me that python is

[xml] [PATCH] Python bindings: DOM casts everything to xmlNode

2013-02-20 Thread Alexey Neyman
Hi libxml developers, [BTW, is this list alive?] I noticed another issue with Python bindings of libxml: the access methods do not cast the pointers to specific classes such as xmlDtd, xmlEntityDecl, etc. For example, with the following document: ?xml version=1.0? !DOCTYPE root [!ELEMENT root