Lines Matching defs:template

88  * @value:  the template to push on the stack
90 * Push a template on the stack
126 * Pop a template value from the stack
128 * Returns the stored template value
362 * initialize the template stack
1355 * @params: extra parameters passed to the template if any
1357 * Process the source node with the default built-in template rule:
1358 * <xsl:template match="*|/">
1360 * </xsl:template>
1364 * <xsl:template match="text()|@*">
1366 * </xsl:template>
1370 * the built-in template rule is the only template rule that is applied
1380 xsltTemplatePtr template;
1516 template = xsltGetTemplate(ctxt, cur, NULL);
1517 if (template) {
1520 "xsltDefaultProcessOneNode: applying template for CDATA %s\n",
1523 xsltApplyOneTemplateInt(ctxt, cur, template->content,
1524 template, params, 0);
1539 template = xsltGetTemplate(ctxt, cur, NULL);
1540 if (template) {
1543 "xsltDefaultProcessOneNode: applying template for text %s\n",
1548 xsltApplyOneTemplateInt(ctxt, cur, template->content,
1549 template, params, 0);
1570 template = xsltGetTemplate(ctxt, cur, NULL);
1571 if (template) {
1575 "xsltDefaultProcessOneNode: template found for PI %s\n",
1579 "xsltDefaultProcessOneNode: template found for comment\n"));
1584 xsltApplyOneTemplateInt(ctxt, cur, template->content,
1585 template, params, 0);
1601 * @params: extra parameters passed to the template if any
1608 xsltTemplatePtr template;
1611 template = xsltGetTemplate(ctxt, node, NULL);
1613 * If no template is found, apply the default rule.
1615 if (template == NULL) {
1619 "xsltProcessOneNode: no template found for /\n"));
1622 "xsltProcessOneNode: no template found for CDATA\n"));
1625 "xsltProcessOneNode: no template found for attribute %s\n",
1629 "xsltProcessOneNode: no template found for %s\n", node->name));
1642 "xsltProcessOneNode: applying template '%s' for attribute %s\n",
1643 template->match, node->name));
1645 xsltApplyOneTemplateInt(ctxt, node, template->content, template, params, 0);
1650 "xsltProcessOneNode: applying template '%s' for /\n",
1651 template->match));
1654 "xsltProcessOneNode: applying template '%s' for %s\n",
1655 template->match, node->name));
1658 xsltApplyOneTemplateInt(ctxt, node, template->content, template, params, 0);
1937 * @list: the template replacement nodelist
1938 * @templ: if is this a real template processing, the template processed
1939 * @params: a set of parameters for the template or NULL
1957 * @list: the template replacement nodelist
1958 * @templ: if is this a real template processing, the template processed
1959 * @params: a set of parameters for the template or NULL
1960 * @notcur: flag to show current template rule doesn't change
1966 * requirement that the "current template rule" should not be changed
2061 "applying template '%s'\n", templ->name));
2066 * Insert all non-XSLT nodes found in the template
2254 * current template if we are in the first level children
2255 * and this is a "real" template.
2648 * Add extra namespaces inherited from the current template
2650 * "real" template.
3144 * Create a new document tree and process the element template
3666 * BUG TODO: use-attribute-sets is not a value template.
4083 xsltTemplatePtr template;
4087 "xsl:apply-imports : internal error no current template\n");
4090 template = xsltGetTemplate(ctxt, node, ctxt->templ->style);
4091 if (template != NULL) {
4092 xsltApplyOneTemplateInt(ctxt, node, template->content, template, NULL, 0);
4100 * @inst: the xslt call-template node
4103 * Process the xslt call-template node on the source node
4122 "xsl:call-template : compilation failed\n");
4127 * The template must have been precomputed
4134 "xsl:call-template : template %s:%s not found\n",
4138 "xsl:call-template : template %s not found\n",
4148 "call-template: name %s\n", comp->name));
4159 * TODO: The "with-param"s could be part of the "call-template"
4176 "xsl:call-template: misplaced xsl:%s\n", cur->name);
4180 "xsl:call-template: misplaced %s element\n", cur->name);
4195 "call-template returned: name %s\n", comp->name));
4431 /* TODO: Isn't comp->templ always NULL for apply-template? */
4450 "xsl:apply-template: %s too many sort\n", node->name);
4456 "xsl:apply-template: misplaced xsl:%s\n", cur->name);
4460 "xsl:apply-template: misplaced %s element\n", cur->name);
5666 xsltRegisterExtElement(ctxt, (const xmlChar *) "call-template",