Fwd: Request for Information XML-RPC (Python)
Irmen de Jong
irmen.NOSPAM at xs4all.nl
Wed Jul 29 16:12:29 EDT 2015
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
More information about the Python-list
mailing list