[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: first warning message is printed in output using

Subject: Re: first warning message is printed in output using XSL
From: "Abel Braaksma (online)" <abel.online@xxxxxxxxx>
Date: Tue, 31 Jul 2007 11:19:51 +0200 (CEST)
Re:  first warning message is printed in output using
> 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).

Current Thread

Back To School Sale!

Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop.

Offer ends August 31, 2008.

Coupon Code
TRTY-C4JV-OFF

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.