[spyne] Spyne. need help

Burak Arslan burak.arslan at arskom.com.tr
Wed Mar 29 14:58:35 UTC 2017


On 03/27/17 08:47, Максат Несипбеков wrote:
> ctx = <Element {spyne.examples.hello.http}say_hello at 0x7f0dac4e1bd8>
> ...
> But i expect output on xml-format (:.
> Can you help me, how attach incoming xml-document?

You need to read up on http://lxml.de/tutorial.html

print(etree.tostring(ctx.in_body_doc)) will show the string 
representation of the tree you repr()'d above.


More information about the people mailing list