On Thu, May 28, 2009 at 1:45 PM, AFO <[email protected]> wrote:
>
> Hello,
>
> Are there any docs that can get me started with accepting via POST an
> XML (utf-8 encoded) message, parsing that into an object, and
> returning a new XML message serialized from some object?
>
@expose()
def consumer(self,xml):
    <use your favorite xml transformation library>
    return str(new_xml)

Please see the other thread on the content_type bug.

> Thank you,
>  :)
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to