Re: lxml

Frédéric Mantegazza <[email protected]>
Newsgroups gmane.comp.python.windows-ce
Organization Home
Message-ID <[email protected]>
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)

-- 
   Frédéric

   http://www.gbiloba.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.