[lxml-dev] About lxml status

Stefan Behnel behnel_ml at gkec.informatik.tu-darmstadt.de
Mon Dec 11 15:24:26 CET 2006


Hi,

David Soulayrol wrote:
> I am currently using 4Suite-XML for a project on my own, which makes use
> of DOM, XSLT and XPath. I've always looked around if I could find other
> libraries to replace 4Suite eventually, and I (re-) discovered libxml
> today, and found a link to lxml from there.
>         
> What I'd like to know is (before I dive deeply in documentation) how you
> would compare the XML support between 4Suite and lxml. Would you say
> lxml is ready for common DOM manipulations, XSLT transformations and
> simple XPath usage ?
>         
> I ask this because I've read in http://xmlsoft.org/index.html:
>         
> "Document Object Model (DOM) http://www.w3.org/TR/DOM-Level-2-Core/ the
> document model, but it doesn't implement the API itself, gdome2 does
> this on top of libxml2"

lxml does not implement the DOM API either. Instead, as the cheeseshop page
nicely states:

---------------------
lxml is a Pythonic binding for the libxml2 and libxslt libraries. It provides
safe and convenient access to these libraries using the ElementTree API.

It extends the ElementTree API significantly to offer support for XPath,
RelaxNG, XML Schema, XSLT, C14N and much more.
---------------------

Feel free to find out more from the documentation, it's full of examples:

http://codespeak.net/lxml/#documentation

Stefan


More information about the lxml-dev mailing list