[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE:

Subject: RE:
From: "Keith" <keith@xxxxxxxxxxxxx>
Date: Wed, 23 May 2001 12:33:09 -0500
 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@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)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.