Re: alternating tags in a list?

Subject: Re: alternating tags in a list?
From: Paul Prescod <paul@xxxxxxxxxxx>
Date: Sat, 12 Dec 1998 15:47:28 -0600
Paul_Tihansky@xxxxxxxxxxxx wrote:
> 
>      I would not propose to add basic arithmetic or evaluation of
> conditions to XSL, since it can be done quite elegantly now with
> ECMAScript.  So I'll join you in pleading for ECMAScript support in the
> final Rec.

My guess is that inline ECMAScript will:

 * severely impair optimization opportunities,
 * severely impair static validity checking,
 * make visual development tools much harder to create,
 * make learning XSL more difficult,
 * discourage proper XSL language development,
 * reduce the number of actual XSL implementations,
 * add no functionality not available through structured extension
callouts.

As James Clark has pointed out on several occasions, if you want to turn
every other row in a table blue, this is *trivial* in DOM code. Why mess
up the nice declarative properties of the XSL stylesheet when the feature
you want is already available and well specified? Is it worth reducing the
number of XSL implementations?

 Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
 http://itrc.uwaterloo.ca/~papresco

"Sports utility vehicles are gated communities on wheels" - Anon



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread