Altova Mailing List Archives
>comp.text.xml Archive Home
>Thread Prev - Re: XSL: putting a XSL value inside an html attribute?
Re: XSL: putting a XSL value inside an html attribute?
Date: 5/17/2006 3:46:00 PM
BTW, the xsl:text in the second version was mostly for readability; I could have written it as <xsl:template match="entry"> <div> <xsl:attribute name="class"> <xsl:value-of select="type"/> </xsl:attribute>some text here</div> </xsl:template> but that would tend to obscure the intent.