[google-appengine] Re: Python XForms and Google App Engine?

2009-05-20 Thread Neal
Or maybe my question is off-base. Maybe XForms just does a regular post to a server just like an HTML form? Ideas? Neal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this gro

[google-appengine] Re: Python XForms and Google App Engine?

2009-05-20 Thread Jeff S (Google)
Hi Neal, I'm by no means an XForms expert, but they can be configured to send the form data to your app in a similar format to traditional HTML forms. You could also have the XForm send the data as XML and use a standard XML library to parse the input. (I'm not sure how many web browsers support

[google-appengine] Re: Python XForms and Google App Engine?

2009-05-20 Thread Neal
So far, this seems the way to get the xml into Python: data = self.request.body # the following is just to display the xml fixline = data.replace("<","<"); fixline = fixline.replace(">",">"); self.response.out.write( "Post3: Python found your submitted value = "

[google-appengine] Re: Python XForms and Google App Engine?

2009-05-22 Thread Jeff S (Google)
Hi Neal, Yes I would recommend using self.request.body. From there you could parse it using something like xml.etree from xml.etree import ElementTree form_data = ElementTree.fromstring(self.request.body) Just a suggestion. Cheers, Jeff On May 20, 7:02 pm, Neal wrote: > So far, this seems t