Process the specified soap envelope body and replace I{multiref} node references with the contents of the referenced node. @param body: A soap envelope body node. @type body: L{Element} @return: The processed I{body} @rtype: L{Element}
(self, body)
| 39 | self.catalog = {} |
| 40 | |
| 41 | def process(self, body): |
| 42 | """ |
| 43 | Process the specified soap envelope body and replace I{multiref} node |
| 44 | references with the contents of the referenced node. |
| 45 | @param body: A soap envelope body node. |
| 46 | @type body: L{Element} |
| 47 | @return: The processed I{body} |
| 48 | @rtype: L{Element} |
| 49 | """ |
| 50 | self.nodes = [] |
| 51 | self.catalog = {} |
| 52 | self.build_catalog(body) |
| 53 | self.update(body) |
| 54 | body.children = self.nodes |
| 55 | return body |
| 56 | |
| 57 | def update(self, node): |
| 58 | """ |
no test coverage detected