xml.sax problem: getting parse() to read a string

sturnfie at gmail.com sturnfie at gmail.com
Mon Jun 5 17:08:50 EDT 2006


Fredrik Lundh wrote:
> as mentioned in the documentation, and implied by my answer, parseString
> is a helper function in the xml.sax module, not a parser method.  try doing
>
>      xml.sax.parseString(string, handler)
>
> instead of that make_parser/setContentHandler/parse dance.
>
> </F>

Thanks a ton for all your help!  I have successfully moved past this
obstacle, with much appreciated thanks to your postings here (and other
postings of yours I found via google).

-- 
lucas




More information about the Python-list mailing list