[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Catch ALL | Failed template rule


Subject: RE: [xsl] Catch ALL | Failed template rule
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 21 Mar 2005 16:32:06 -0000

> How do I setup a template rule for this non-existent match?

You can only match nodes. If apply-templates selects nothing, then no
template rule is invoked. To do something when a condition is false, use an
xsl:if in the calling template.

Michael Kay
http://www.saxonica.com/


Current Thread