XPath-like filtering for ElementTree

Fredrik Lundh fredrik at pythonware.com
Tue Dec 27 04:16:57 EST 2005


Gerard Flanagan wrote:

> Pseudo-XPath support for ElementTree with the emphasis on 'Pseudo'.
>
>     http://gflanagan.net/site/python/pagliacci/ElementFilter.html
>
> It's an approach suggested by the Specification Pattern
>
>     eg. http://www.martinfowler.com/apsupp/spec.pdf
>
> Not tested beyond what follows (no time for more at the minute).
>
> Criticisms and suggestions are welcome.

looks like I'll soon have to set up a registry for highly interesting ET addons...

</F>






More information about the Python-list mailing list