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

Extracting hypertext attribut value of an xsl document

Subject: Extracting hypertext attribut value of an xsl document
From: "frank Stein" <freeposte@xxxxxxxxxxx>
Date: Mon, 29 Jan 2001 18:00:28
attribut value xsl
Hello,
Please could you give me a hand on this one ?
I would like to extract out the attribute value of an hypertext tag in order to affect it to on an XSL variable.


Example:

<xsl:template match="RootLevel">
<a href="javascript:void(0)">
 <xsl:attribute name="Name">
  <xsl:value-of select="my_name"/>
 </xsl:attribute>

 <xsl:variable name="my_var">
 <xsl:value-of select="(here goes the hypertext Name attribute value)"/>
 </xsl:variable>
 </a>

<xsl:apply-templates select="Level[@Name=$my_var]"/>
</xsl:template>

How do you "call" the attribut "Name" containing "my_var" and then how should the value "my_var" be extracted ?

Thank-You.

Ovide.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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



Current Thread

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.