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]

RE:


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@GlobaleTelecom.com

-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Howard Lim
Sent: Wednesday, May 23, 2001 12:30 PM
To: XSL-List@lists.mulberrytech.com
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@us.net56.net


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



 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]