>     # confDocument is a libxml2 document, from parseFile() etc
>     xp = confDocument.xpathNewContext()
>     xp.xpathRegisterNs("xhtml", "http://www.w3.org/1999/xhtml";)
>     dirElement = xp.xpathEval( "/xhtml:html" )
>

Stupid question, but can the namespace somehow be changed to null to
make queries simpler?

thanks,
max.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to