ankit wrote:
> I am parsing xml file using libxml2 and for navigating the document
> object tree I want to use  minidom. Is it possible. Can anyone give me
> any example for the same ?

Try libxml2dom [1] if you want to use a minidom-style API on documents
parsed by libxml2. Recent namespace discussions notwithstanding, it
should mostly behave itself to your satisfaction. You should even be
able to import libxml2dom nodes into minidom, if you really need
minidom for some reason, but this isn't extensively tested.

Paul

[1] http://www.python.org/pypi/libxml2dom

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

Reply via email to