Lines Matching refs:ns
187 if (node->ns) { in attr_find_ns()
188 return node->ns; in attr_find_ns()
189 } else if (node->parent->ns) { in attr_find_ns()
190 return node->parent->ns; in attr_find_ns()
198 if (node->ns) { in node_find_ns()
199 return node->ns; in node_find_ns()
205 int attr_is_equal_ex(xmlAttrPtr node, char *name, char *ns) in attr_is_equal_ex() argument
208 if (ns) { in attr_is_equal_ex()
211 return (strcmp((char*)nsPtr->href, ns) == 0); in attr_is_equal_ex()
221 int node_is_equal_ex(xmlNodePtr node, char *name, char *ns) in node_is_equal_ex() argument
224 if (ns) { in node_is_equal_ex()
227 return (strcmp((char*)nsPtr->href, ns) == 0); in node_is_equal_ex()
238 xmlAttrPtr get_attribute_ex(xmlAttrPtr node, char *name, char *ns) in get_attribute_ex() argument
241 if (attr_is_equal_ex(node, name, ns)) { in get_attribute_ex()
249 xmlNodePtr get_node_ex(xmlNodePtr node, char *name, char *ns) in get_node_ex() argument
252 if (node_is_equal_ex(node, name, ns)) { in get_node_ex()
260 xmlNodePtr get_node_recurisve_ex(xmlNodePtr node, char *name, char *ns) in get_node_recurisve_ex() argument
263 if (node_is_equal_ex(node, name, ns)) { in get_node_recurisve_ex()
266 xmlNodePtr tmp = get_node_recurisve_ex(node->children, name, ns); in get_node_recurisve_ex()