|
Subject: Re: [xsl] Xsl colour attributes. From: "Daniel Rodriguez" <ccdr@xxxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 22 May 2001 10:46:47 +1000 |
That's not the code I'm using, I thought I'd save everyone the trouble of looking through many lines of code and show basically what I want. All I want to do is make a javascript that will draw these patterns with differenet color fields.
document.writeln("<xsl:attribute name='bgcolor'><xsl:value-of select='$fgcolor' /></xsl:attribute>")
I'm trying to create color patterns with table data fields is a style sheet. I need to embed by come with <![CDATA[[]> tags so that it runs in my application. The problem is that the colour attributes don't get recognized.
Thanks
Daniel
---------- Original Message ----------------------------------
From: Alex Black <enigma@xxxxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 21 May 2001 17:32:43 -0700
>> 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.
>
>I was going to write that but decided I didn't have enough xslt seniority to
>say it :)
>
>ok daniel:
>
> -a: you cannot embed xslt tags in cdata and expect them to be processed
> -also, you are not inside an element because you're within javascript.
>
>you need to create variables for your colors, and key them in:
>
><table color="{$color1}"> etc.
>
>_a
>
>
>--
>alex black, ceo
>enigma@xxxxxxxxxxxxxxxx
>
>the turing studio, inc.
>http://www.turingstudio.com
>
>vox+510.666.0074
>fax+510.666.0093
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Xsl colour attributes., Michael Kay | Thread | RE: [xsl] Xsl colour attributes., Tim Watts |
| Re: [xsl] Xsl colour attributes., Alex Black | Date | RE: [xsl] Xsl colour attributes., Tim Watts |
| Month |