hackingKK, 31.10.2010 10:04:
On Sunday 31 October 2010 01:58 PM, Lawrence D'Oliveiro wrote:hackingKK wrote:Further more, I just was curious why elementtree is not having the namespace facility?ElementTree handles namespaces just fine.So is there a function to generate tags with namespace?
Yes, it's called "Element", as in
el = ET.Element('{http://the.name/space}tag')
Reading the docs helps a lot here.
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
