Subject: Re: rookie questions - Try 2 From: "xsl questions" <xslquestions@xxxxxxxxxxx> Date: Tue, 18 Apr 2000 21:17:50 GMT |
What I did was: <xsl:if test="position() mod 2 = 1"> <xsl:text disable-output-escaping = "yes" ><TR></xsl:text> <code to print filter name and selection>
and then <xsl:if test="position() mod 2 = 0"> <code to print filter name and selection> <xsl:text disable-output-escaping = "yes" ></TR></xsl:text>
From: "Noah Nordrum" <noah@xxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxx Subject: Re: rookie questions - Try 2 Date: Tue, 18 Apr 2000 10:54:48 -0400
This is a similar problem, but not really. Having a "tiled" background of a 2
column table is easy:
<tr> <xsl:if test="position() mod 2 = 0"> <xsl:attribute name="bgcolor">red</xsl:attribute> </xsl:if> <td>search criteria</td><td>input field</td> </tr>
going like this: <search criteria> <input field> <search criteria> <input field> <search criteria> <input field> <search criteria> <input field> <search criteria> <input field> <search criteria> <input field> is much harder.
I posted a similar request for this pattern last week, but no responses yet :(
I know it is somewhere in the archives, but I can't seem to find it, and
unfortunately I had only bookmarked the list-archive index, and not the actual
item. oops ;)
If if find out, I'll forward the answer on to you.
Noah
______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: rookie questions - Try 2, Kay Michael | Thread | Re: rookie questions - Try 2, David Carlisle |
Re: Benchmarking Dynamic Web XSLT, Jon Smirl | Date | Re: simple XSL, David Carlisle |
Month |