[XML-SIG] xml parsing for weblogs.com xml file
fabian at syameses.com
Mon Oct 22 20:37:34 CEST 2007
Thanks, that's great, I am using lxml library and works perfectly!
2007/10/18, Stefan Behnel <stefan_ml at behnel.de>:
> Fabian López wrote:
> > I am quite new in Python and I have been looking for a library to parse
> > xml document.
> There are currently two options I'd recommend: lxml and ElementTree. Both
> mostly compatible, but much easier to use than SAX.
> > I know that maybe the best solution for what I am programming
> > is to use SAX,
> No. SAX is always a problem, rarely a solution and almost never the best
> > The problem is that weblog tag doesn't finish with </weblog> and I don't
> > really know if this library will work. I only want to take the
> attributes of
> > weblog tag. Can anyone tell me if SAX can do it or if I need some
> > and better library?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the XML-SIG