|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Shorthand.
Subject: Re: Shorthand.
From: Steve <subsume@xxxxxxxxx>
Date: Wed, 25 Jul 2007 13:28:20 -0400
|
Something like this in XSL 1.0 would be great. Anyone?
On 7/25/07, Angela Williams <Angela.Williams@xxxxxxxxxxxxxxxxxx> wrote:
(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 |
Angela Williams - 25 Jul 2007 16:56:44 -0000
- Steve - 25 Jul 2007 17:28:43 -0000 <=
Angela Williams - 25 Jul 2007 17:09:02 -0000
- Steve - 25 Jul 2007 17:13:20 -0000
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|