|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: dynamically set priority in xsl:template
>>>>> "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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






