|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: "Return" from a function?
On 6/1/06, Phillip B Oldham <phillip.oldham@xxxxxxxxxx> wrote:
Though, thinking about it, I suppose I could do something like the following (thanks *Andrew*): 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
|
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
|

Cart








