[lxml-dev] Regarding the ElementTree API

Stefan Behnel stefan_ml at behnel.de
Fri May 30 10:17:56 CEST 2008


Hi,

Deepali H. Dhabade wrote:
> ElementTree API does not support namespace prefixes.

That's a bit simplistic.


> Is there any latest
> ElementTree API which gives full support for namespace prefixes.

The ElementTree API handles prefixes correctly, although it doesn't give users
much control over what happens with them. lxml.etree is a bit more open here.

http://codespeak.net/lxml/tutorial.html#namespaces

What else do you need?

Stefan



More information about the lxml-dev mailing list