libxml2/xpath

Maxim Khesin maxk at NtOoSuPrAoM.edu
Thu Dec 16 02:22:30 EST 2004


I am trying to do some xpath on
http://fluidobjects.com/doc.xhtml
but cannot get past 'point A' (that is, I am totally stuck):

>> import libxml2
>> mydoc = libxml2.parseDoc(text)
>> mydoc.xpathEval('/html')
>> []

this returns an empty resultlist, which just seems plain wrong. Can anyone
throw a suggestion to the stupid?

thanks.





More information about the Python-list mailing list