Re: applying all rules in a mode

Subject: Re: applying all rules in a mode
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Aug 1999 22:48:28 +0100 (BST)
Tony Graham writes:
 >  > only to children of the current node. Unless each of your "toc"
 >  > templates has a recursive `apply-templates mode="toc"', it will not
 >  > propagate downwards
 > 
 > That was true but isn't anymore.  Section 6.8 of the current working
 > draft defines a built-in template rule for each mode.

hmm. it applies "in the absence of a successful pattern match by an
explicit template rule". I read that as meaning that if you have a
`normal' rule for a "<foo>", then the default for the mode will not
apply?

sebastian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread