RE: [xsl] XSL Button Template

Subject: RE: [xsl] XSL Button Template
From: "Clapham, Paul" <pclapham@xxxxxxxxxxxxx>
Date: Thu, 19 Apr 2001 09:47:54 -0700
My idea would be to look at the HTML that's the actual result of your
template, and find out why it doesn't work.  Then figure out what HTML will
work instead, and have your XSL template generate that.


-----Original Message-----
From: zendezine@xxxxxxxxxx [mailto:zendezine@xxxxxxxxxx]
Sent: April 19, 2001 09:18
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] XSL 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">
		   <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>
	 <td><img src="/images/spacer.gif" width="10"/></td>

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!!

     <xsl:call-template name="buttont">
	<xsl:with-param name="label">test</xsl:with-param>
	<xsl:with-param name="width">100</xsl:with-param>

Send a cool gift with your E-Card

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread