Hello, I've successfully compiled and installed lxml, but now I have XPath errors. To be precise, the error is that no nodes are returned. I'm using "//a" on "http://www.w3.org/". It's seems to be an namespace error but I haven't found how to give to the .xpath() function the default namespace. Here is my code : ==================== 8< ======================= import lxml.etree import urllib import sys def show_skel(element, ident = 0): print " "*ident, element.tag for node in element: show_skel(node, ident+4) url = "http://www.w3.org" expr_xpath = "//a" f = lxml.etree.StringIO("".join(urllib.urlopen(url).readlines())) doc = lxml.etree.parse(f) r = doc.xpath(expr_xpath) #show_skel(doc.getroot()) print len(r) if (len(r) > 0): for node in r: print node.tag ==================== 8< ======================= Thanks in advance