Lines Matching refs:ns
188 if (node->ns) { in attr_find_ns()
189 return node->ns; in attr_find_ns()
190 } else if (node->parent->ns) { in attr_find_ns()
191 return node->parent->ns; in attr_find_ns()
199 if (node->ns) { in node_find_ns()
200 return node->ns; in node_find_ns()
206 int attr_is_equal_ex(xmlAttrPtr node, char *name, char *ns) in attr_is_equal_ex() argument
209 if (ns) { in attr_is_equal_ex()
212 return (strcmp((char*)nsPtr->href, ns) == 0); in attr_is_equal_ex()
222 int node_is_equal_ex(xmlNodePtr node, char *name, char *ns) in node_is_equal_ex() argument
225 if (ns) { in node_is_equal_ex()
228 return (strcmp((char*)nsPtr->href, ns) == 0); in node_is_equal_ex()
239 xmlAttrPtr get_attribute_ex(xmlAttrPtr node, char *name, char *ns) in get_attribute_ex() argument
242 if (attr_is_equal_ex(node, name, ns)) { in get_attribute_ex()
250 xmlNodePtr get_node_ex(xmlNodePtr node, char *name, char *ns) in get_node_ex() argument
253 if (node_is_equal_ex(node, name, ns)) { in get_node_ex()
261 xmlNodePtr get_node_recurisve_ex(xmlNodePtr node, char *name, char *ns) in get_node_recurisve_ex() argument
264 if (node_is_equal_ex(node, name, ns)) { in get_node_recurisve_ex()
267 xmlNodePtr tmp = get_node_recurisve_ex(node->children, name, ns); in get_node_recurisve_ex()