Subject: Re: [xsl] "Return" from a function? From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 31 May 2006 12:13:16 +0100 |
what would be the difference between <xsl:function match="/subscriptions/item"> <xsl:if test="not(renewaldate)"> <xsl:return /> </xsl:if> <!-- otherwise execute the rest of the stuff below --> </xsl:template> and <xsl:function match="/subscriptions/item"> <xsl:if test="renewaldate"> <!-- otherwise execute the rest of the stuff below --> </xsl:if> </xsl:template> ? (also xsl:function (an XSLT2 instruction) doesn't have a match attribute, not sure if you meant the match to be name, or xsl:function to be xsl:template) David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] "Return" from a function?, Phillip B Oldham | Thread | Re: [xsl] "Return" from a function?, andrew welch |
Re: [xsl] Numbering Consecutive Nod, David Carlisle | Date | Re: [xsl] Converting HTML-like to O, David Carlisle |
Month |