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

Re: xsl:variable

Subject: Re: xsl:variable
From: mahee@xxxxxxxxxxxxxx (Mahendran Duraisamy)
Date: Wed, 22 Mar 2000 16:27:36 -0800
xsl variable table
try removing the opening and closing braces when u substitute the 
variable name .

 <xsl:template match="rs:data">
    <xsl:variable name="caption"><xsl:value-of 
 select="."/></xsl:variable>    <TABLE>
          <th><INPUT TYPE="BUTTON" VALUE="$caption"
 sortfld="date(@TradeDate)"/></th>
    </TABLE>
 </xsl:template>

regards,
mahee



----- Original Message -----
From: Anton Swanevelder <AntonS@xxxxxxxxxxxx>
Date: Wednesday, March 22, 2000 7:13 am
Subject: xsl:variable

> Hi
> 
> I am trying to do what I think is pretty much straight forward for 
> most of
> you but...
> <xsl:template match="rs:data">
>    <xsl:variable name="caption"><xsl:value-of 
> select="."/></xsl:variable>    <TABLE>
>          <th><INPUT TYPE="BUTTON" VALUE="{$caption}"
> sortfld="date(@TradeDate)"/></th>
>    </TABLE>
> </xsl:template>
> 
> 
> I am trying to read a value out of a XML document to use as a 
> value for the
> button in HTML.
> According to the XML Bible this is suppose to work. IE 5 just 
> refuses to
> interpret the xsl:variable. I am
> using the <xsl:stylesheet xmlns:xsl="" 
> target="l">http://www.w3.org/TR/WD-xsl">
> namespace.
> Is there anybody out there that know why this wont work or have any
> alternative of doing this.
> 
> Kind Regards,
> 
> Anton
> 
> 
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
begin:vcard
n:Duraisamy;Mahendran
fn:Mahendran Duraisamy
tel;fax:609-951-0580
tel;home:732-329-1725
tel;work:609-951-8500
url:www.ecomserver.com
org:eComServer, Inc.adr:;;116-200 Village Blvd.,;Princeton;New Jersey;08540;USA
adr:;;116-200 Village Blvd.,;Princeton;New Jersey;08540;USA
version:2.1
email;internet:mahee@xxxxxxxxxxxxxx
title:Software Engineer
end:vcard
Current Thread
  • xsl:variable
    • Anton Swanevelder - Wed, 22 Mar 2000 17:13:10 +0200
      • <Possible follow-ups>
      • Mahendran Duraisamy - Wed, 22 Mar 2000 16:27:36 -0800 <=

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.