searching an XML doc

Diez B. Roggisch deets at nospam.web.de
Tue Jan 15 16:49:53 EST 2008


Gowri schrieb:
> Hello,
> 
> I've been reading about ElementTreee and ElementPath so I could use
> them to find the right elements in the DOM. Unfortunately neither of
> these seem to offer XPath like capabilities where I can find elements
> based on tag, attribute values etc. Are there any libraries which can
> give me XPath like functionality?


lxml does that.

Diez



More information about the Python-list mailing list