From nima.g.67 at gmail.com Mon Oct 11 08:33:08 2010 From: nima.g.67 at gmail.com (Nima) Date: Mon, 11 Oct 2010 10:03:08 +0330 Subject: [xml-sig] XML.Xpath not avaiable in python2.6.6 Message-ID: hello all, dose any one know why there is no xml.xpath module available in python 2.6.x ? thanks -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From stefan_ml at behnel.de Mon Oct 11 09:47:06 2010 From: stefan_ml at behnel.de (Stefan Behnel) Date: Mon, 11 Oct 2010 09:47:06 +0200 Subject: [xml-sig] XML.Xpath not avaiable in python2.6.6 In-Reply-To: References: Message-ID: <4CB2C0FA.7000903@behnel.de> Nima, 11.10.2010 08:33: > dose any one know why there is no xml.xpath module available in python > 2.6.x ? Because it's part of PyXML, which has been long deprecated. Take a look at the other stdlib modules instead, especially ElementTree, and also consider using the external lxml package. Stefan From Rakesh.Balakrishnan at lsi.com Fri Oct 1 09:14:06 2010 From: Rakesh.Balakrishnan at lsi.com (Balakrishnan, Rakesh) Date: Fri, 01 Oct 2010 07:14:06 -0000 Subject: [xml-sig] PyXML-0.8.4 Installation problem. Message-ID: Hi, I downloaded PyXML-0.8.4.tar from the sourceforge site and tried to install. I am getting the following error. Please help me in resolving this. # python setup.py install Traceback (most recent call last): File "setup.py", line 127, in ? config_h_vars = parse_config_h(open(config_h)) IOError: [Errno 2] No such file or directory: '/usr/include/python2.4/pyconfig-32.h' [root at p190 PyXML-0.8.4]# vi README [root at p190 PyXML-0.8.4]# python setup.py install Traceback (most recent call last): File "setup.py", line 127, in ? config_h_vars = parse_config_h(open(config_h)) IOError: [Errno 2] No such file or directory: '/usr/include/python2.4/pyconfig-32.h' Thanks, Rakesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From vojta.rylko at seznam.cz Fri Oct 8 18:46:13 2010 From: vojta.rylko at seznam.cz (=?ISO-8859-2?Q?Vojt=ECch_Rylko?=) Date: Fri, 08 Oct 2010 16:46:13 -0000 Subject: [xml-sig] xml.dom.pulldom strange behavior Message-ID: <4CAF460E.4020001@seznam.cz> Hi, I was told [1] to handle END_ELEMENT when expanding node. But I cannot find or write how it should be written. If I expand node in END_ELEMENT it throw me an error, if I expand node in START_ELEMENT, it doesn't have END_ELEMENT. Thanks for any tutorial's link or piece of code or advice Vojt?ch Rylko [1] http://bugs.python.org/issue10026