xsl-list
[Top] [All Lists]

Re: [xsl] first warning message is printed in output using XSL

2007-07-31 02:20:11


I am under the impression that you are mixing a couple of things up.
XSLT does not print, and a template contains a rule and is only
called when the input complies to that rule.


sorry, I should correct myself here: a *matching* template contains
a pattern (the rule) which, when matched against the input, will be
called. But an XSLT programmer has the option to tell the processor
which parts should actually be tested against the existing matching
templates and you do that by using apply-templates.

The other thing is a named template, which is only processed when
explicitly requested by its name.

You have both (which, IIRC only works with XSLT 2.0), in which case
the #3 template will be called either when a match occurs, or when
the call-template is explicitly used (and triggered).


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>