Re: [xsl] dynamically set priority in xsl:template

Subject: Re: [xsl] dynamically set priority in xsl:template
From: Georges Schmitz <georges.schmitz@xxxxxxxxx>
Date: Fri, 02 Mar 2007 11:43:38 +0100
OK, I have to set this condition in 20 cases (priority would have been 2
places), but it is surely a good solution.

Many thanks,
Georges

David Carlisle wrote:
> why do you need to use priority here at all (or use-when) just use the
> match.
>
> <xsl:template match="@db:type[$slenderise.level=1] |
>                        @db:size[$slenderise.level=1] |
>                         @db:nullable[$slenderise.level=]"
>                         mode="slenderise"
>                         />
>
>
> David

Current Thread