Hi,
Just as this discsussion is heatedly going on, I have a different
question also relevant to browsers.
I have been using a lot of <xsl:attribute name="something"> in my
XSLT when I am calling different templates with various output
consequences. For example, I would be using something like
<font>
<xsl:attribute name="color">
<xsl:value-of
select="substring-after($font,'bold')"/>
</xsl:attribute>
<xsl:attribute name="weight">750 </xsl:attribute>
<xsl:attribute name="size">3</xsl:attribute>
<b>
<xsl:apply-templates/>
</b>
</font>
This works, of course.
However, there is a problem. When I am opening up the "Transformed into
HTML" content with Internet Explorer, the color gets a little
"dis-oriented." For example, red would become green, navy becomes
black, etc. I noticed that the transformed output from the XSLT
generates a space between each of the attributes. So the output of
<font color="red"> would display something like <font color=" red ">
This only occurs with some of the 16 basic colors, and only on the IE.
The HTML code shows the same spacing in between the attributes, but it
does not affect the output. Anyone knows how I can solve this issue?
Alice
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--