Subject: Re: [xsl] Shorthand. From: Steve <subsume@xxxxxxxxx> Date: Wed, 25 Jul 2007 13:28:20 -0400 |
(Not tested) <xsl:function name="my:ajax-link"> <xsl:param name="href" select="'x'"/> <xsl:param name="text" select="'y'"/> <a href="{$href}" onClick="showData('{$href}');return false;"><xsl:value-of select="$text" /></a>
</xsl:function>
<value-of select="my:ajax-link($href, $text)"/>
I'm not very familiar with the ins and outs of 1.0 , but I don't know of a less verbose way to call a named template in either version....
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Shorthand., Angela Williams | Thread | Re: [xsl] Shorthand., Abel Braaksma |
Re: [xsl] Shorthand., Steve | Date | Re: [xsl] Shorthand., Steve |
Month |