This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL Button Template
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] XSL Button Template
- From: Robert Seber <robert dot seber at netdecisions dot co dot uk>
- Date: Thu, 19 Apr 2001 17:53:49 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
It's really quite hard to follow what you want the end result to be. Could
you send the required HTML output?
> -----Original Message-----
> From: zendezine@excite.com [mailto:zendezine@excite.com]
> Sent: Thursday, April 19, 2001 5:18 PM
> To: xsl-list@lists.mulberrytech.com
> 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">
> <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
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list