This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: rookie questions - Try 2
- To: xsl-list at mulberrytech dot com
- Subject: Re: rookie questions - Try 2
- From: "Noah Nordrum" <noah at activated dot com>
- Date: Tue, 18 Apr 2000 10:54:48 -0400
- Organization: Activated Intelligence, LLC
- References: <20000417191351.18918.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
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
>
> A similar problem/solution would be having a different color background for
> every other row of a report.
>
> Also, is it common to have html generated by the XSL parser to look
> different in Netscape and IE? I am getting pages in IE that have 6 inches
> of whitespace before anything else and looking at the HTML there doesn't
> seem to be a reason for this.
>
> Thanks in advance.
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list