[PythonCE] lxml

Frédéric Mantegazza frederic.mantegazza at gbiloba.org
Mon Dec 3 23:13:12 CET 2007

On lundi 03 décembre 2007, Alexandre Delattre wrote:

> Afaik there's no port of lxml yet. A starting point would be a port of
> libxml2 itself.

I guessed it would be the problem :o/

> Anyway have you tried ElementTree which is shipped with PythonCE 2.5 ?
> Lxml based it's API on it, so basic XML infoset manipulation is exactly
> the same in etree, but works out of the box.
> http://docs.python.org/lib/module-xml.etree.ElementTree.html

Yes, you're right! I can use ET, as I only need to generate a xml tree. I 
think I can avoid usage of XPath...

> Maybe you're interested in the standards support of lxml ( XPath, XSLT,
> schemas validation ...), in which case I advise you a pure python
> solution (http://4suite.org/index.xhtml)

Interesting, but as I already know lxml, I will focus on ET.

Thanks :o)



More information about the PythonCE mailing list