[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Extracting hypertext attribut value of an xsl document
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|