Lines Matching defs:prefix

172  * Pop an excluded prefix value from the stack
174 * Returns the stored excluded prefix value
1041 if ((cur->prefix != NULL) &&
1042 (xsltCheckExtPrefix(style, cur->prefix)))
1068 if ((cur->prefix == ret[i]->prefix) ||
1069 (xmlStrEqual(cur->prefix, ret[i]->prefix)))
1281 * for QNames that do not have a prefix"
1493 * @template: the "extension-element-prefixes" prefix
1495 * parse an XSLT stylesheet's "extension-element-prefix" attribute value
1508 xmlChar *prefix, *end;
1526 prefix = prefixes;
1527 while (*prefix != 0) {
1528 while (IS_BLANK(*prefix)) prefix++;
1529 if (*prefix == 0)
1531 end = prefix;
1533 prefix = xmlStrndup(prefix, end - prefix);
1534 if (prefix) {
1537 if (xmlStrEqual(prefix, (const xmlChar *)"#default"))
1540 ns = xmlSearchNs(style->doc, cur, prefix);
1543 "xsl:extension-element-prefix : undefined namespace %s\n",
1544 prefix);
1549 "add extension prefix %s\n", prefix);
1551 xsltRegisterExtPrefix(style, prefix, ns->href);
1553 xmlFree(prefix);
1555 prefix = end;
1631 * parse an XSLT stylesheet exclude prefix and record
1643 xmlChar *prefix, *end;
1659 prefix = prefixes;
1660 while (*prefix != 0) {
1661 while (IS_BLANK(*prefix)) prefix++;
1662 if (*prefix == 0)
1664 end = prefix;
1666 prefix = xmlStrndup(prefix, end - prefix);
1667 if (prefix) {
1670 if (xmlStrEqual(prefix, (const xmlChar *)"#default"))
1673 ns = xmlSearchNs(style->doc, cur, prefix);
1677 prefix);
1682 "exclude result prefix %s\n", prefix);
1687 xmlFree(prefix);
1689 prefix = end;
1737 ns->prefix = xmlStrdup((const xmlChar *)"xml");
1747 * @prefix: the prefix
1752 * the given prefix and namespace name.
1760 const xmlChar *prefix)
1776 if ((ns->prefix == NULL) != (prefix == NULL)) {
1778 } else if (prefix == NULL) {
1782 if ((ns->prefix[0] == prefix[0]) &&
1783 xmlStrEqual(ns->prefix, prefix) &&
1794 ns->next = xmlNewNs(NULL, nsName, prefix);
1849 alias->targetNs->prefix);
1870 alias->targetNs->prefix);
1924 alias->targetNs->prefix);
1930 alias->targetNs->prefix);
2094 effNs->prefix = ns->prefix;
2458 "No namespace binding in scope for prefix '%s'.\n", cur);
2461 * bound to the prefix on the element bearing the
2469 "resolved prefix '%s'\n", cur);
3036 (attr->ns->prefix != NULL) &&
3037 (attr->ns->prefix[0] == 'x') &&
3038 (attr->ns->prefix[1] == 'm') &&
3039 (attr->ns->prefix[2] == 'l') &&
3040 (attr->ns->prefix[3] == 0))
3310 if ((ns->prefix != NULL) &&
3428 * TODO: basically if the stylesheet uses the same prefix for different
3444 if (ns->prefix != NULL) {
3454 URI = xmlHashLookup(style->nsHash, ns->prefix);
3457 "Namespaces prefix %s used for multiple namespaces\n",ns->prefix);
3460 xmlHashUpdateEntry(style->nsHash, ns->prefix,
3465 "Added namespace: %s mapped to %s\n", ns->prefix, ns->href);
4612 (xsltCheckExtPrefix(style, cur->ns->prefix)))