sets conditional for work with CDATA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ladon |
Fix Committed
|
High
|
jsgaarde |
Bug Description
Hi.
I have question about ladon -service.
I create simple function as you have in your example.
But I try use variable which have as CDDATA and get null string from ladon-service.
Can you explane how to work with CDDATA and how is right to take to ladon that variable ?
I think that problem is in here:
soap.py:
def nodeListToDict(
res_dict = {}
for n in nodelist:
items = getElementsByTa
if len(items):
res_
for item in items:
if len(item.
res_
else:
res_
else:
res_
return res_dict
here: if len(item.
I think that one need to add some conditional for CDATA?
Can you fix it?
thanks
maybe it is help to you : http:// stackoverflow. com/questions/ 597058/ xml-dom- minidom- getting- cdata-values# answer- 597107