Lines Matching defs:prefix

291     const xmlChar *prefix;
306 ncname = xsltSplitQName(style->dict, value, &prefix);
320 attrItems = xmlHashLookup2(style->attributeSets, ncname, prefix);
454 xmlHashUpdateEntry2(style->attributeSets, ncname, prefix, attrItems, NULL);
659 const xmlChar *name = NULL, *prefix = NULL, *nsName = NULL;
752 name = xsltSplitQName(ctxt->dict, prop, &prefix);
755 name = xsltSplitQName(ctxt->dict, comp->name, &prefix);
758 if (!xmlStrncasecmp(prefix, (xmlChar *) "xmlns", 5)) {
761 "xsltAttribute: xmlns prefix forbidden\n");
804 } else if (prefix != NULL) {
812 ns = xmlSearchNs(inst->doc, inst, prefix);
819 "xsl:attribute: The effective prefix '%s', has no "
822 "specified by the instruction itself.\n", prefix);
841 * "XSLT processors may make use of the prefix of the QName specified
842 * in the name attribute when selecting the prefix used for outputting
844 * so and, if the prefix is xmlns, they must not do so"
863 prefix);
872 (targetElem->ns->prefix != NULL) &&
878 if (prefix != NULL) {
880 * Search by ns-prefix.
882 ns = xmlSearchNs(targetElem->doc, targetElem, prefix);
891 if ((ns != NULL) && (ns->prefix != NULL)) {
897 if (prefix) {
901 if ((ns->prefix) && xmlStrEqual(ns->prefix, prefix)) {
903 * The prefix is aready occupied.
910 ns = xmlNewNs(targetElem, nsName, prefix);
916 * Generate a new prefix.
919 const xmlChar *basepref = prefix;
923 if (prefix != NULL)
924 basepref = prefix;
935 "new unique ns-prefix for the generated attribute "
941 if (basepref != prefix)
1074 const xmlChar *prefix = NULL;
1098 ncname = xsltSplitQName(ctxt->dict, attrib, &prefix);
1105 xmlHashLookup2(style->attributeSets, ncname, prefix);
1113 xmlHashLookup2(style->attributeSets, ncname, prefix);