Re: [XML-SIG] xml parsing for weblogs.com xml file

2007-10-22 Thread Fabian López
Thanks, that's great, I am using lxml library and works perfectly! 2007/10/18, Stefan Behnel <[EMAIL PROTECTED]>: > > > Fabian López wrote: > > I am quite new in Python and I have been looking for a library to parse > a > > xml document. > > There are currently two options I'd recommend: lxml and

Re: [XML-SIG] xml parsing for weblogs.com xml file

2007-10-18 Thread Stefan Behnel
Fabian López wrote: > I am quite new in Python and I have been looking for a library to parse a > xml document. There are currently two options I'd recommend: lxml and ElementTree. Both are mostly compatible, but much easier to use than SAX. http://codespeak.net/lxml > I know that maybe the be

Re: [XML-SIG] xml parsing for weblogs.com xml file

2007-10-17 Thread Stephane Bortzmeyer
On Wed, Oct 17, 2007 at 08:16:15PM +0200, Fabian López <[EMAIL PROTECTED]> wrote a message of 51 lines which said: > The problem is that weblog tag doesn't finish with That's perfectly normal and perfectly legal XML. Do note that is an empty element (see the slash at the end). > and I do

[XML-SIG] xml parsing for weblogs.com xml file

2007-10-17 Thread Fabian López
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: http://P.blo