RE: [xsl] html attributes

Subject: RE: [xsl] html attributes
From: "alex reuter" <areuter@xxxxxxxxxxxxxxxx>
Date: Thu, 23 Aug 2001 15:07:40 -0400
I use
<img>
<xsl:attribute name="SRC"><xsl:value-of select="//myValue"/></xsl:attribute>
<xsl:attribute name="alt"><xsl:value-of
select="//otherValue"/></xsl:attribute>
</img>

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
Kevin_Gutch@xxxxxxxxxxx
Sent: Thursday, August 23, 2001 2:59 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] html attributes



Does anyone have an example of inserting an <xsl:value-of select
="//myValue">  into an HTML attribute.

For instance, I want to populate an image SRC tag with an  <xsl:value-of
select="//myValue">. I can do this but I then want to populate the ALT
attribute with a value from the same XML.


 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