Michael Wood wrote at 2010-12-1 14:05 +0200:
> ...
>>>> s = AnyAsDict()
>>>> s.to_xml({"a": ["One"], "b": ["Two"], "c": [3]}, 'tns', parent)
>>>> for element in parent.getchildren():
>... print etree.tostring(element)
>...
><ns0:retval xmlns:ns0="tns"><a>One</a><c>3</c><b>Two</b></ns0:retval>
>>>> print s.from_xml(parent.getchildren()[0])
>{'a': ['One'],'c': ['3'],'b': ['Two']}
As you can see, you have lost type information: the integer "3"
has been converted into the string "'3'".
When types are important for your client sides, then this is likely
not good enough.
--
Dieter
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap