Re: [xsl] I love programs that output programs

Subject: Re: [xsl] I love programs that output programs
From: "Dave Pawson dave.pawson@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Jan 2025 11:15:59 -0000
Modes:
  Now 'enclosing modes'
Am I the only one thinking xslt4 is miles away (and of less use due
complexity)
from XSLT?

regards

On Sun, 19 Jan 2025 at 11:11, Michael Kay michaelkay90@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

>
> in XSLT 4 as proposed, you can put all templates for a given mode inside
> the xsl:mode element (although i am not sure you can enforce that...
>
>
>
> Yes, it is enforced. In an "enclosing mode" all templates applicable to
> the mode must be children of the xsl:mode element. Except that you're
> allowed overriding template rules in a separate package.
>
> Michael Kay
> XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/2607481> (by
> email <>)
>


-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.

Current Thread