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

XSL Button Template

Subject: XSL Button Template
From: zendezine@xxxxxxxxxx
Date: Thu, 19 Apr 2001 09:18:23 -0700 (PDT)
button template
Hi Everyone

I have created a button template to be used throughout my site. 

<xsl:template name="button">
    <xsl:param name="name"></xsl:param>
	<xsl:attribute name="href"></xsl:attribute>
	<xsl:attribute name="target"></xsl:attribute>
	
   <table border="0" cellpadding="0" cellspacing="0">
      <tr> 
	  <td>
	    <table>
		<tr>			
		   <td><img src="/images/buttons/arrow_left_gray.gif"/></td>
		   <td class="butblue"><xsl:value-of select="$name"/></td>
        	   <td><img src="/images/buttons/blue_end_right.gif"/></td>
		</tr>
	    </table>
	   </td>
	 <td><img src="/images/spacer.gif" width="10"/></td>
      </tr>
    </table>
</xsl:template>

When I call the template, the link will not work. The template is also
called into screens with form input links. As I am an XSL Newbie, (kind of
obvious) I would appreciate any ideas from you pros out there. XSL Rules!!


<a>
     <xsl:attribute
name="href">javascript:newButtonSubmit('new_form',<xsl:value-of
select="/finder_results/form_attributes/@current"/>);</xsl:attribute>
     <xsl:call-template name="buttont">
	<xsl:with-param name="label">test</xsl:with-param>
	<xsl:with-param name="width">100</xsl:with-param>
     </xsl:call-template>
</a>





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



 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.