Re: [xsl] Catch ALL | Failed template rule

Subject: Re: [xsl] Catch ALL | Failed template rule
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 21 Mar 2005 15:54:06 GMT
> How do I setup a template rule for this non-existent match?

You can't: templates are fired by matching nodes, if you select an empty
node set, then no templates will be invoked.

If you want something to happen if there is not an ABC/D child do

<xsl:if test="not(ABC/D)">

This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread