This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Xsl colour attributes.
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Xsl colour attributes.
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Tue, 22 May 2001 01:01:24 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Daniel,
That has to be the weirdest bit of code I have ever seen.
What is wrong with
....
No! I can't even begin to imagine what you expect to happen here.
I nominate this bit of code to the LFAQ/MBAQ
Can you explain it a bit more.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@lists.mulberrytech.com
>[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Daniel
>Rodriguez
>Sent: 22 May 2001 00:27
>To: xsl-list@lists.mulberrytech.com
>Subject: [xsl] Xsl colour attributes.
>
>
>I'm trying to contstruct dynamic atbles is a stylesheet using
>javascript. I can get this to work, the problem is that when I try
>to set the colour attribute for the table or data fields within
>it, it doesn't work. Here is a sample bit of code I'm trying to
>get to work.
>
><body scroll = "auto" leftmargin="0" topmargin="0" rightmargin="0"
>bottommargin="0">
><SCRIPT>
><![CDATA[
>document.writeln("<table cellpadding='0' cellspacing='0'
>border='0' width='100%' height='100%'>")
>document.writeln("<tr>")
>document.writeln("<td>")
>document.writeln("<xsl:attribute name='bgcolor'><xsl:value-of
>select='$fgcolor' /></xsl:attribute>")
>document.writeln("blah blah ")
>document.writeln("</td>")
>document.writeln("</tr>")
>document.writeln("</table>")
>]]>
></SCRIPT>
>
></body>
>
>The table gets drawn, blah blah gets put in, but the table will
>not display any colours.
>Any ideas anyone.
>Thanks
>Daniel
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list