Subject: Re: [xsl] "Return" from a function? From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Thu, 1 Jun 2006 15:02:48 +0530 |
I think, you can write
<xsl:template match="/subscriptions/item"> <xsl:choose> <xsl:when test="renewaldate"> <p>Your renewal date for <xsl:value-of select="subscriptionname" /> is: <xsl:value-of select="renewaldate" />.</p> </xsl:when> <xsl:otherwise> <p>Sorry, there has been an error...</p> </xsl:otherwise> </xsl:template>
Regards, Mukul
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] "Return" from a function?, Mukul Gandhi | Thread | Re: [xsl] "Return" from a function?, andrew welch |
Re: [xsl] "Return" from a function?, Mukul Gandhi | Date | Re: [xsl] "Return" from a function?, andrew welch |
Month |