[XML-SIG] Re: Simplest free DOM-like toolkit with validation?

Fredrik Lundh fredrik at pythonware.com
Fri Apr 8 21:59:40 CEST 2005


Greg Wilson wrote:

> Mm.  So people would have to:
>
> * download two supplementary libraries

one is a Python module, one is a parser.  both are available as prebuilt kits for many
platforms.

> * parse with one
>
> * transform the nodes produced by that parser from one format to another

no, they have to call a single function that does it for them (and the "transformation"
is extremely light-weight: there's hardly any copying of data going on, just references
being moved from tuple objects to instance attributes.  RXP+conversion+Element-
Tree is *faster* than expat+ElementTree, after all).

if you want even more performance, *and* DTD and RelaxNG support, this was
just released:

    http://codespeak.net/lxml/

(still things to download, though)

</F> 





More information about the XML-SIG mailing list