[google-appengine] Re: Does App Engine support xml.dom.minidom?

2009-07-12 Thread Jason Salas
Hi Andi, Thanks! I found the answer here: http://sivuraide.blogspot.com/2009/01/url-fetch-api-minidom-google-app-engine.html It's easiest when using Google's urlfetch and the minidom in tandem and using the parseString() method of the latter. Thanks for your help! On Jul 12, 9:38 pm, Andi Alb

[google-appengine] Re: Does App Engine support xml.dom.minidom?

2009-07-12 Thread Andi Albrecht
Hi Jason, there's something wrong in your code example. You can't parse result with minidom. I think it should be something like from StringIO import StringIO import logging [...] try: dom = minidom.parse(StringIO(result.content)) except: logging.exception('Failed to parse XML:') self.res