[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: alternating tags in a list?

Subject: Re: alternating tags in a list?
From: Keith Visco <kvisco@xxxxxxxxx>
Date: Mon, 14 Dec 1998 12:08:40 -0500
Re: alternating tags in a list?
I agree with Paul...this should be supported. We use XSL on a number of
projects...and luckily we have access to ECMAScript to do modulus for
alternating tags. 

--Keith


Paul_Tihansky@xxxxxxxxxxxx wrote:
> 
> --- Paul Prescod wrote: --->
> > 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?
> 
> If its so *trivial* why shouldn't XSL be able to handle alternating tags?
> Its not so trivial to create DOM code for a non-DOM programmer.  You even
> cited an example of your own.
> 
> > Nevertheless, I can say this about XSL: I've deployed it in two
> > situations. The first was a markup user who doesn't know how to program.
> 
> If they wanted to do alternating tags, what would you have told them to do?
> I can do a lot with an XSL transformation, so why should I have to abandon
> XSL altogether for the sake of a trivial function.  I think not including
> these simple functions or some way of embedding these function is going to
> discourage a lot of people from using XSL.
> 
> Paul T.
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.