+ def create_xml_node(self, name, context_dict):
+ node = libxml2.newNode(name)
+ for k in context_dict.keys():
+ if (type(context_dict[k])==dict):
+ childNode = self.create_xml_node(k, context_dict[k])
+ node.addChild(childNode)
+ else:
+ childNode = libxml2.newNode(k)
+ childNode.addContent(context_dict[k])
+ node.addChild(childNode)
+ return node
+
+ def add_request_context_to_rspec(self, doc):