I am using libxml2dom but having problem when parsing. It gives me the
following error:
File "exlibxml2dom.py", line 4, in ?
document = libxml2dom.parse("moc.xml")
File "/usr/lib/python2.2/site-packages/libxml2dom/__init__.py", line
472, in parse
return parseFile(stream_or_string, html)
File "/usr/lib/python2.2/site-packages/libxml2dom/__init__.py", line
484, in parseFile
return Document(Node_parseFile(filename, html))
File
"/usr/lib/python2.2/site-packages/libxml2dom/macrolib/macrolib.py",
line 431, in parseFile
libxml2mod.xmlCtxtUseOptions(context, XML_PARSE_NOERROR |
XML_PARSE_NOWARNING | XML_PARSE_NONET)
AttributeError: 'module' object has no attribute 'xmlCtxtUseOptions'
LET me know what is the problem with this ...