Re: [xsl] dynamic font

Subject: Re: [xsl] dynamic font
From: "Zafer Bayraktar" <z-b@xxxxxxxx>
Date: Thu, 25 Jan 2001 13:40:24 +0200
My code is:

      <xsl:for-each select="TEXT">
         <input type="submit" name="Sil" value="Sil"> </input>
 <xsl:attribute name = "xxx" ><xsl:value-of
         <font color={$xxx}>
         <xsl:value-of select="TEXT"/>

the output is :

<input type="submit" name="Sil" value="Sil">
 xxx="red"<font color="{$xxx}">
text 1_1

First of all, it output   xxx="red" when creating the variable and
"{$xxx}" does not work. ?

----- Original Message -----
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, January 25, 2001 1:15 PM
Subject: RE: [xsl] dynamic font

> >     I want to dynamically set the font of xml value within xsl.
> > I mean, I want to set xxx dynamically <font color="xxx">, how is this
> > possible ?
> <font color="{$color}">
> Look in the documentation for "attribute value templates".
> Or you can use <xsl:attribute>
> Mike Kay
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread