[lxml-dev] Regarding the ElementTree API

30 May
2008
30 May
'08
1:05 a.m.
ElementTree API does not support namespace prefixes.Is there any latest ElementTree API which gives full support for namespace prefixes.
I need this because I am working on openxml+python support

30 May
30 May
1:17 a.m.
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
5672
Age (days ago)
5672
Last active (days ago)
1 comments
2 participants
participants (2)
-
Deepali H. Dhabade
-
Stefan Behnel