This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Using an XSLT value as a HTML parameter


Hey all.

I'm trying to do something similar to this:

 (xml)
   <text format="color" value="#113344">
 (/xml)

 (xsl)
    <xsl:template match="text">
	<font "{./@format}"="{./@value}">
     <xsl:apply-templates/>
	</font>
    </xsl:template>
 (/xsl)

Alternativly a way to simply say <text color="#1111111"> without having to
put in a large number of ifs (as the color tag may be something different)
would be neat :)

 TIA!

 - Ender


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]