Re: [xsl] Another Alternate table-row background color question - Using filters

Subject: Re: [xsl] Another Alternate table-row background color question - Using filters
From: "Aron Bock" <aronbock@xxxxxxxxxxx>
Date: Mon, 30 May 2005 22:11:16 +0000
A pure XSLT 1.0 solution:
This shows how to create a N-column table from the nodes of a node-set.
N and the node-set are passed as parameters.
No extension function is referenced (and no "following-sibling"
axis is used)
The rows are displayed in alternate colours.



http://www.topxml.com/code/default.asp?p=3&id=v20020514091249

That business of passing around the entire node population, as a means to get around follow-sibling) is cute. However, the outer test won't work for # cols = 1; it should probably be adjusted to look for mod cols = 0


--A

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Current Thread