xml parsing for weblogs.com xml file

"Fabian López" <[email protected]>
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
Dear colegues,
I am quite new in Python and I have been looking for a library to parse a
xml document. I know that maybe the best solution for what I am programming
is to use SAX, but I have a problem in xml format. WEblogs.com
changes.xmldocument uses the following syntax:

<weblogUpdates version="2" updated="Wed, 17 Oct 2007 15:24:00 GMT"
count="2209377">
      <weblog name="NAME" url="http://PPPPP.blogspot.com/" when="1" />
</weblogUpdates>

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 special
and better library?

Thanks for your support,
Fabian

_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.