Lines Matching refs:trav
29 xmlNodePtr trav, env, head, body, resp, cur, fault; in parse_packet_soap() local
57 trav = response->children; in parse_packet_soap()
58 while (trav != NULL) { in parse_packet_soap()
59 if (trav->type == XML_ELEMENT_NODE) { in parse_packet_soap()
60 if (env == NULL && node_is_equal_ex(trav,"Envelope",SOAP_1_1_ENV_NAMESPACE)) { in parse_packet_soap()
61 env = trav; in parse_packet_soap()
64 } else if (env == NULL && node_is_equal_ex(trav,"Envelope",SOAP_1_2_ENV_NAMESPACE)) { in parse_packet_soap()
65 env = trav; in parse_packet_soap()
74 trav = trav->next; in parse_packet_soap()
104 trav = env->children; in parse_packet_soap()
105 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
106 trav = trav->next; in parse_packet_soap()
108 if (trav != NULL && node_is_equal_ex(trav,"Header",envelope_ns)) { in parse_packet_soap()
109 head = trav; in parse_packet_soap()
110 trav = trav->next; in parse_packet_soap()
115 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
116 trav = trav->next; in parse_packet_soap()
118 if (trav != NULL && node_is_equal_ex(trav,"Body",envelope_ns)) { in parse_packet_soap()
119 body = trav; in parse_packet_soap()
120 trav = trav->next; in parse_packet_soap()
122 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
123 trav = trav->next; in parse_packet_soap()
151 if (trav != NULL && soap_version == SOAP_1_2) { in parse_packet_soap()
394 trav = head->children; in parse_packet_soap()
395 while (trav != NULL) { in parse_packet_soap()
396 if (trav->type == XML_ELEMENT_NODE) { in parse_packet_soap()
404 if (trav->ns) { in parse_packet_soap()
405 smart_str_appends(&key, (char*)trav->ns->href); in parse_packet_soap()
408 smart_str_appends(&key, (char*)trav->name); in parse_packet_soap()
415 master_to_zval(&val, enc, trav); in parse_packet_soap()
416 add_assoc_zval(soap_headers, (char*)trav->name, &val); in parse_packet_soap()
418 trav = trav->next; in parse_packet_soap()