How to send raw XML in Python?

Posted by davywahd on Stack Overflow See other posts from Stack Overflow or by davywahd
Published on 2010-04-12T15:06:38Z Indexed on 2010/04/12 15:13 UTC
Read the original article Hit count: 228

Filed under:
|
|

Hi, I am trying to send raw xml to a service in Python. I have a the address of the service and my question is how would I wrap XML in python and send it to the service. The address is in the format below.

192.1100.2.2:54239

And say the XML is:

<xml version="1.0" encoding="UTF-8"><header/><body><code><body/>

Anyone know what to do?

© Stack Overflow or respective owner

Related posts about python

Related posts about Xml