[lxml-dev] Problem with xpath behaviour.

Bruno Deferrari utizoc at gmail.com
Mon Aug 13 21:41:29 CEST 2007


Just in case, under the same system, but using libxml2dom, I'm getting
'<p>text2</p>' as the result:

>>> doc2 = libxml2dom.parseString(html, html=True)
>>> doc2.xpath("//p")[0].toString()
'<p>lala</p>'


More information about the lxml-dev mailing list