Try

def xml_uploader():
    import xml.etree.ElementTree
    mytree=xml.etree.ElementTree.parse(request.body.read())
    # do something with mytree. look into python docs about it

On Sep 10, 9:22 am, encompass <[email protected]> wrote:
> I know how to work with xml code.  I just wanted to make sure I do it
> with all the built in libraries that are possible.
> I have an existing tool that will be sending me an XML in a post
> request.  What is the best way for me to take that data and use it in
> my Web2py Application?  they are not Blogs, but a very large peices of
> data about Elevators.
> Regards,
> Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to