On 29-7-2015 14:52, Davide D'Arenzo wrote:

> I want to send a DOM instance through xmlrpc protocol. I know that the 
> istance are
> impossible to manage by xmlrpclib library in Python but this is what I need. 
> I'm trying
> to understand why is not possible to marshal the class Nodelist and I 
> recognize that the
> target function is dumps(self, values) in class Marshaller because she 
> couldn't find
> this type of Python Object.

One serialized form of a DOM is.... an XML document. So why not just send the 
XML
document itself?

Just ask the dom for its string/xml form and send that as a string across your 
xml-rpc call.

Irmen

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to