Exemple #1
0
 def process(self, node):
     """
     Process an object graph representation of the xml I{node}.
     @param node: An XML tree.
     @type node: L{sax.element.Element}
     @return: A suds object.
     @rtype: L{Object}
     """
     content = Content(node)
     return Core.process(self, content)
Exemple #2
0
 def process(self, node, type):
     """
     Process an object graph representation of the xml L{node}.
     @param node: An XML tree.
     @type node: L{sax.element.Element}
     @param type: The I{optional} schema type.
     @type type: L{xsd.sxbase.SchemaObject}
     @return: A suds object.
     @rtype: L{Object}
     """
     content = Content(node)
     content.type = type
     return Core.process(self, content)