Re: [xsl] I love programs that output programs

Subject: Re: [xsl] I love programs that output programs
From: "Michael Kay michaelkay90@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Jan 2025 11:11:15 -0000
> 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

Current Thread