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: "Tim Watts" <timw at 3d3 dot com>
- Date: Tue, 22 May 2001 11:07:56 +1000
- Reply-To: xsl-list at lists dot mulberrytech dot com
Daniel,
Why are you using Javascript to write out the html? XSLT is great at doing
that! ;)
How about you show us a snippet of the XML you are using, and how you want
this HTML to look.
And some of the HTML/Javascript you are currently getting in the browser.
Tim
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Daniel
Rodriguez
Sent: Tuesday, 22 May 2001 10:47 AM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] Xsl colour attributes.
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list