What XML lib to use?

Robert Kern rkern at ucsd.edu
Wed Sep 14 01:51:53 CEST 2005


mekstran at scl.ameslab.gov wrote:

> I have also heard excellent things about ElementTree; I haven't used it
> myself though (largely because I can't find any resources on doing XML
> canonicalization with it).

You can use lxml which is an implementation of the ElementTree API using
libxml2 and libxslt under the covers for greater standards compliance
including c14n. I've been using extensively recently and highly
recommend it.

http://codespeak.net/lxml

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the Python-list mailing list