Re: xml in python

2009-05-10 Thread uuid
On 2009-05-10 09:24:36 +0200, Piet van Oostrum said: These days ElementTree is considered the most pythonic way. http://docs.python.org/library/xml.etree.elementtree.html There is also a reimplementation of the ElementTree API based on libxml2 and libxslt, which has more features but require

Re: xml in python

2009-05-10 Thread Piet van Oostrum
> Shawn Milochik (SM) wrote: >SM> On Fri, May 8, 2009 at 3:46 AM, Rustom Mody wrote: >>> Can someone give me a heads up on xml parsing in python? >>> The context is that I want to write a simple docbook to text converter. >>> DOM is alright -- dont want to break my head with SAX just for per

Re: xml in python

2009-05-09 Thread Shawn Milochik
On Fri, May 8, 2009 at 3:46 AM, Rustom Mody wrote: > Can someone give me a heads up on xml parsing in python? > The context is that I want to write a simple docbook to text converter. > DOM is alright -- dont want to break my head with SAX just for performance > when my documents are not likely to

xml in python

2009-05-08 Thread Rustom Mody
Can someone give me a heads up on xml parsing in python? The context is that I want to write a simple docbook to text converter. DOM is alright -- dont want to break my head with SAX just for performance when my documents are not likely to be large. My problem is that there seems to be so many nea