metalpriest / pysimplesoap

Automatically exported from code.google.com/p/pysimplesoap
0 stars 0 forks source link

No CDATA support #132

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Here's a very basic issue. How can I insert CDATA to a response without having 
it escaped like this: "<![CDATA[<..."?

Original issue reported on code.google.com by gedimina...@gmail.com on 24 Jan 2014 at 2:42

GoogleCodeExporter commented 8 years ago
Same problem. Solved with this:

from xml.dom.minidom import CDATASection

c = CDATASection()
c.data = 'my CDATA string'

data = {
    'some_field': c
}

Original comment by sirjorg...@gmail.com on 18 Aug 2015 at 11:35