| 
 
Subject: Re: [xsl] dynamically set priority in xsl:template From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: 02 Mar 2007 12:18:30 +0000  | 
>>>>> "Georges" == Georges Schmitz <georges.schmitz@xxxxxxxxx> writes:
    Georges> Is it not possible at all, to set the priority by a
    Georges> parameter? 
Such a question is easily answered by looking at the recommendation. I
recommend getting into the habit of doing this.
In this case:
http://www.w3.org/TR/xslt20/#element-template
shows you that the priority attributes takes
number
not 
{number}
The latter is an AVT (AttributeValueTemplate), which means it can be
an XPath expression (such as a variable reference).
Since that is not allowed, it can only be a numeric literal.
(In fact it can only be a decimal literal,. unfortunatley the
recommendation doesn't make that obvious at this point. You don't find
this out until section 6.4)
So in short, the answer is no.
-- 
Colin Adams
Preston Lancashire
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] dynamically set priority , Georges Schmitz | Thread | [xsl] proportional column width in , ms | 
| Re: [xsl] dynamically set priority , Georges Schmitz | Date | Re: [xsl] not copying duplicate nod, Mukul Gandhi | 
| Month |