Lines Matching defs:prefix

409     const xmlChar *prefix;
422 prefix = ((ns == NULL) || (ns->prefix == NULL)) ? BAD_CAST "" : ns->prefix;
424 has_empty_ns = (xmlC14NStrEqual(prefix, NULL) && xmlC14NStrEqual(href, NULL));
431 if(xmlC14NStrEqual(prefix, (ns1 != NULL) ? ns1->prefix : NULL)) {
442 const xmlChar *prefix;
455 prefix = ((ns == NULL) || (ns->prefix == NULL)) ? BAD_CAST "" : ns->prefix;
457 has_empty_ns = (xmlC14NStrEqual(prefix, NULL) && xmlC14NStrEqual(href, NULL));
464 if(xmlC14NStrEqual(prefix, (ns1 != NULL) ? ns1->prefix : NULL)) {
494 (xmlStrEqual(ns->prefix, BAD_CAST "xml")) &&
520 return (xmlStrcmp(ns1->prefix, ns2->prefix));
542 if (ns->prefix != NULL) {
544 xmlOutputBufferWriteString(ctx->buf, (const char *) ns->prefix);
581 * namespace node with local name xml, which defines the xml prefix,
621 tmp = xmlSearchNs(cur->doc, cur, ns->prefix);
631 if(xmlStrlen(ns->prefix) == 0) {
688 * * its prefix and value do not appear in ns_rendered. ns_rendered is
737 xmlChar *prefix;
741 prefix = ctx->inclusive_ns_prefixes[i];
743 * Special values for namespace with empty prefix
745 if (xmlStrEqual(prefix, BAD_CAST "#default")
746 || xmlStrEqual(prefix, BAD_CAST "")) {
747 prefix = NULL;
751 ns = xmlSearchNs(cur->doc, cur, prefix);
760 if(xmlStrlen(ns->prefix) == 0) {
783 if(xmlStrlen(ns->prefix) == 0) {
802 if(xmlStrlen(attr->ns->prefix) == 0) {
805 } else if((attr->ns != NULL) && (xmlStrlen(attr->ns->prefix) == 0) && (xmlStrlen(attr->ns->href) == 0)) {
883 if (attr1->ns->prefix == NULL)
885 if (attr2->ns->prefix == NULL)
920 if (attr->ns != NULL && xmlStrlen(attr->ns->prefix) > 0) {
922 (const char *) attr->ns->prefix);
1024 && (xmlStrEqual(attr->ns->prefix, BAD_CAST "xml"))) {
1154 if ((cur->ns != NULL) && (xmlStrlen(cur->ns->prefix) > 0)) {
1156 (const char *) cur->ns->prefix);
1194 if ((cur->ns != NULL) && (xmlStrlen(cur->ns->prefix) > 0)) {
1196 (const char *) cur->ns->prefix);