Subject: Re: [xsl] Shorthand. From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Wed, 25 Jul 2007 20:43:31 +0200 |
I'm using MSXML
Example:
xsl--- <xsl:template name="a"> <xsl:param name="href" /> <xsl:param name="text" /> <a href="{$href}" onClick="showData('{$href}');return false;"><xsl:value-of select="$text" /></a> </xsl:template> <xsl:template match="/"> <xsl:call-template name="a"> <xsl:with-param name="href" select="'process.asp'" /> <xsl:with-param name="text" select="'Click me, baby'" /> </xsl:call-template> </xsl:template> -- output---- <a href="process.asp" onClick="showData('process.asp');return false;">Click me, baby</a> ------
I have no obstacles except its length. exslt:function seems like it would suffice. Reading up now.
Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Shorthand., Steve | Thread | Re: [xsl] Shorthand., Dimitre Novatchev |
Re: [xsl] Shorthand., Steve | Date | Re: [xsl] Shorthand., Dimitre Novatchev |
Month |