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 <[email protected]> wrote:
> 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("<","&lt;");
>      fixline = fixline.replace(">","&gt;");
>      self.response.out.write(
>        "Post3: Python found your submitted value = " +
>           fixline + "<BR/>"
>         )
>
> Is this the "best" way to get the string of xml?
>
> Neal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to