Lines Matching refs:cur
126 static void xsl_add_ns_to_map(xmlHashTablePtr table, xsltStylesheetPtr sheet, const xmlNode *cur, c… in xsl_add_ns_to_map() argument
130 …xsltTransformError(NULL, sheet, (xmlNodePtr) cur, "Namespaces prefix %s used for multiple namespac… in xsl_add_ns_to_map()
140 const xmlNode *cur = xmlDocGetRootElement(doc); in xsl_build_ns_map() local
142 while (cur != NULL) { in xsl_build_ns_map()
143 if (cur->type == XML_ELEMENT_NODE) { in xsl_build_ns_map()
144 if (cur->ns != NULL && cur->ns->prefix != NULL) { in xsl_build_ns_map()
145 xsl_add_ns_to_map(table, sheet, cur, cur->ns->prefix, cur->ns->href); in xsl_build_ns_map()
148 for (const xmlAttr *attr = cur->properties; attr != NULL; attr = attr->next) { in xsl_build_ns_map()
155 xsl_add_ns_to_map(table, sheet, cur, prefix, ns->href); in xsl_build_ns_map()
159 if (cur->children != NULL) { in xsl_build_ns_map()
160 cur = cur->children; in xsl_build_ns_map()
165 cur = php_dom_next_in_tree_order(cur, (const xmlNode *) doc); in xsl_build_ns_map()