Hi David, Liam,
Oh wow. I wish I had known about this a long time ago. I have some cleanup to
do in some of my past stylesheets now...
Thank you!
- Chris
-----Original Message-----
From: David Carlisle d.p.carlisle@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, December 19, 2022 1:37 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: looking for a visually clean way to enable/disable
templates
<xsl:template use-when=" $do.this.thing" match="element">
-----Original Message-----
From: Liam R. E. Quin liam@xxxxxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, December 19, 2022 1:39 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: looking for a visually clean way to enable/disable
templates
Try, <xsl:template use-when="$do.this.thing" match="...">
where $do.this.thing is a variable or parameter declared with static=yes.
liam
|