I think the only defence of my proposal is the DRY principle: don't repeat
yourself. It's intrinsically a good idea if the list of "special" element
names is in one place only.
That's not to say I would do it this way in practice -- especially when only
one element name is "special". I was just responding to Michael M-H's request
for alternative suggestions.
Michael Kay
Saxonica
> On 11 Mar 2025, at 16:23, Bauman, Syd s.bauman@xxxxxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> I am wondering if anyone else thinks simplicity has its up side:
>
> <xsl:apply-templates select="elem1|elem2|elem3|elem4|elem5|elem6"/>
> <xsl:apply-templates select="node() except
(elem1|elem2|elem3|elem4|elem5|elem6)"/>
|