[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Xsl colour attributes.

Subject: Re: Xsl colour attributes.
From: "Daniel Rodriguez" <ccdr@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 May 2001 10:46:47 +1000
daniel rodriguez
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.