[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE:
From: "Keith" <keith@xxxxxxxxxxxxx>
Date: Wed, 23 May 2001 12:33:09 -0500
If the 'name' you are wanting to use is the value of the current node:

<img src="arrow.gig">
	<xsl:attribute name="name"><xsl:value-of select="."/></xsl:attribute>
</img>

you could also put the src as an attribute
<img>
	<xsl:attribute name="src">arrow.gif</xsl:attribute>
	<xsl:attribute name="name"><xsl:value-of select="."/></xsl:attribute>
</img>
but either way this should work

Keith Brooks
Software Developer
Global eTelecom
Keith@xxxxxxxxxxxxxxxxxx

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Howard Lim
Sent: Wednesday, May 23, 2001 12:30 PM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject:


I have the following code in my XSL file.

<img name="<xsl:value-of select="."/>" src="arrow.gif"/>

I have problems getting the value of <xsl:value-of select="."/> for the name
attribute in the image tag, can somebody please help me? thank you.

Howard (Kian-How) Lim
howard.lim@xxxxxxxxxxxx


 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
  • [no subject]
    • Howard Lim - Wed, 23 May 2001 13:06:53 -0400 (EDT)
      • cutlass - Wed, 23 May 2001 13:14:07 -0400 (EDT)
      • Keith - Wed, 23 May 2001 13:25:16 -0400 (EDT) <=
      • Michael Kay - Wed, 23 May 2001 13:31:27 -0400 (EDT)
      • Christopher Go - Wed, 23 May 2001 13:35:38 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member