Subject: Re: applying all rules in a mode
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Tue, 10 Aug 1999 16:22:47 -0400 (EST)
|
At 10 Aug 1999 17:38 +0100, Sebastian Rahtz wrote:
> Hadar, Oren writes:
> > apply all of the rules that have mode="toc". I tried the
> > following, but it didn't work:
> >
> > <xsl:apply-templates mode="toc" select="*"/>
> >
> It probably *is* working, but does not mean what you think. It applies
> 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.
Regards,
Tony Graham
======================================================================
Tony Graham mailto:tgraham@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9632
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|