On 6/1/06, Mukul Gandhi <gandhi(_dot_)mukul(_at_)gmail(_dot_)com> wrote:
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>
Sorry, I missed this, please add </xsl:choose> after </xsl:otherwise>
Regards,
Mukul
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--