good to know.
On Sep 11, 4:37 am, encompass <[email protected]> wrote:
> Actually, the "parse" didn't work. But the new feature in python 2.5
> that I have not seen is rather nice. Thanks...
> I actually ended up useing...
> mytree=xml.etree.ElementTree.XML(request.body.read())
> Thanks!
>
> On Sep 10, 6:09 pm, mdipierro <[email protected]> wrote:
>
> > 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
-~----------~----~----~----~------~----~------~--~---