Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Problem with conditional colors

From: "Neil Smith [MVP Digital Media]" <neil@------.--->
To: NULL
Date: 12/7/2004 1:37:00 PM
On 6 Dec 2004 15:12:24 -0800, "Andrew Shepherd"
<shepherd_a@h...> wrote:

>I've sort of figured out what's going on.

>Anyway, if I defined the variable like this:
>
><xsl:when test="state = &quot;Assigned&quot;">
>#FF0000
></xsl:when>
>
>Then <tr bgcolor={$rowcolor}"
>
>would come out like this:
>
></tr>
><tr bgcolor="
>#FF0000
>" >
>
>Internet Explorer would somehow misinterpret this value.
>So the lesson I learnt there is: Line feeds are significant.

** In HTML attibutes which define colour values, yes, of course ;-)

>As an aside, I'm curious as to whether this should be considered a
>defect in Internet Explorer or not.

You've only just discovered IE is defective ?!?!
http://www.mozilla.org/products/firefox/



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent