[XML-SIG] Newbie XML/SAX Parsing questions

2007-05-22 Thread Debajit Adhikary
I'm new to Python, and am writing an XML parser for RSS feeds. I'd like to have a few things cleared up: * Is PyXML a part of the standard Python distribution? * How can I parse entity references like in the following code: >abc< Could anyone give me any code examples for this? * Is 4suit

Re: [XML-SIG] Newbie XML/SAX Parsing questions

2007-05-22 Thread Stephane Bortzmeyer
On Tue, May 22, 2007 at 04:59:11AM -0400, Debajit Adhikary <[EMAIL PROTECTED]> wrote a message of 60 lines which said: > I'm new to Python, and am writing an XML parser for RSS feeds. Why reinventing the wheel? http://feedparser.org/ > * How can I parse entity references like in the followi

Re: [XML-SIG] Newbie XML/SAX Parsing questions

2007-05-22 Thread Debajit Adhikary
On 5/22/07, Stephane Bortzmeyer <[EMAIL PROTECTED]> wrote: On Tue, May 22, 2007 at 04:59:11AM -0400, Debajit Adhikary <[EMAIL PROTECTED]> wrote a message of 60 lines which said: > I'm new to Python, and am writing an XML parser for RSS feeds. Why reinventing the wheel? http://feedparser.org/

[XML-SIG] looking for conversion from dictionary

2007-05-22 Thread David Bear
I google for 'convert python dictionary xml' but got way too many hits. Anyone have any pointers for a quick way to have a python dictionary represented as xml? I want to have repr(pythondict) where =keyname, and the contents of the tag is the value. -- David Bear College of Public Programs at A