Le Mon, 25 Aug 2008 04:30:00 -0700, Paul Boddie a écrit : >> Well, my final purpose isn't to fetch root dom node but to fetch many >> other sub node. > > You could always try using an XPath expression: > > node = (dom2.xpath("//[EMAIL PROTECTED]'svg2383']") or [None])[0] > > Similar things could be done in PyXML and other libraries, I'm sure, but > minidom lacks XPath support, if I remember correctly.
Thanks ! It work. Regards, Stephane -- http://mail.python.org/mailman/listinfo/python-list