flight = self.ctxt.xpathEval( "table/tr/td/a/text()" ) print flight I am evaluating this xpath expression using python's libxml2. How can I get the actual text data? When I print the result set I get text node information, like the address and stuff. This is probably a stupid question, but I can't seem to get it. Thanks for any help.