Lines Matching refs:root_elem
664 xml_element *root_elem = XMLRPC_VALUE_to_xml_element(val); in XMLRPC_VALUE_ToXML() local
667 if(root_elem) { in XMLRPC_VALUE_ToXML()
668 pRet = xml_elem_serialize_to_string(root_elem, NULL, buf_len); in XMLRPC_VALUE_ToXML()
669 xml_elem_free(root_elem); in XMLRPC_VALUE_ToXML()
700 xml_element *root_elem = NULL; in XMLRPC_REQUEST_ToXML() local
702 root_elem = DANDARPC_REQUEST_to_xml_element (request); in XMLRPC_REQUEST_ToXML()
706 root_elem = XMLRPC_REQUEST_to_xml_element (request); in XMLRPC_REQUEST_ToXML()
709 root_elem = SOAP_REQUEST_to_xml_element (request); in XMLRPC_REQUEST_ToXML()
712 if(root_elem) { in XMLRPC_REQUEST_ToXML()
714 xml_elem_serialize_to_string (root_elem, in XMLRPC_REQUEST_ToXML()
717 xml_elem_free(root_elem); in XMLRPC_REQUEST_ToXML()
810 xml_element *root_elem = in XMLRPC_REQUEST_FromXML() local
815 if(root_elem) { in XMLRPC_REQUEST_FromXML()
816 if(!strcmp(root_elem->name, "simpleRPC")) { in XMLRPC_REQUEST_FromXML()
818 xml_element_to_DANDARPC_REQUEST(request, root_elem); in XMLRPC_REQUEST_FromXML()
820 else if (!strcmp (root_elem->name, "SOAP-ENV:Envelope")) { in XMLRPC_REQUEST_FromXML()
822 xml_element_to_SOAP_REQUEST (request, root_elem); in XMLRPC_REQUEST_FromXML()
826 xml_element_to_XMLRPC_REQUEST(request, root_elem); in XMLRPC_REQUEST_FromXML()
828 xml_elem_free(root_elem); in XMLRPC_REQUEST_FromXML()