Lines Matching defs:prefix
119 if (xmlStrEqual(cur->prefix, ns->prefix))
203 if (ns->prefix == NULL)
209 (char *) ns->prefix);
212 if (ns->prefix == NULL)
218 (char *) ns->prefix);
728 if (ns->prefix != NULL)
731 (char *) ns->prefix);
737 if (ns->prefix != NULL)
739 (char *) ns->prefix);
891 if ((node->ns != NULL) && (node->ns->prefix != NULL)) {
892 xmlCtxtDumpString(ctxt, node->ns->prefix);
1765 if (ns->prefix == NULL)
1768 fprintf(output, "%s -> %s", (char *)ns->prefix,
2090 * @arg: a string in prefix=nsuri format
2095 * register/unregister a prefix=namespace pair
2105 xmlChar* prefix;
2116 /* find prefix */
2117 prefix = next;
2120 fprintf(ctxt->output, "setns: prefix=[nsuri] required\n");
2134 if(xmlXPathRegisterNs(ctxt->pctxt, prefix, href) != 0) {
2135 fprintf(ctxt->output,"Error: unable to register NS with prefix=\"%s\" and href=\"%s\"\n", prefix, href);
2167 if (ns->prefix == NULL)
2170 xmlXPathRegisterNs(ctxt->pctxt, ns->prefix, ns->href);
2910 fprintf(ctxt->output, "\tsetns nsreg register a namespace to a prefix in the XPath evaluation context\n");
2911 fprintf(ctxt->output, "\t format for nsreg is: prefix=[nsuri] (i.e. prefix= unsets a prefix)\n");
2913 fprintf(ctxt->output, "\t the default namespace if any uses 'defaultns' prefix\n");
2974 "setns: prefix=[nsuri] required\n");