[EMAIL PROTECTED] wrote:

> ElementTree on the other hand provides incredibly easy access to XML
> elements and works in a more Pythonic way.  Why has the API not been
> included in the Python core?

$ svn up
$ make
...
$ python
Python 2.5a0 (#1, Dec 12 2005, 19:26:49)

>>> import xml.etree.ElementTree as ET
>>> root = ET.XML("<message>hello, world!</message>")
>>> root
<Element text at 402f73ac>
>>> root.text
'hello, world!'

http://svn.python.org/view/python/trunk/Lib/xml/etree/

(and it's all your fault ;-)

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to