Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XSLT coding
Message
From
10/10/2007 15:00:10
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
XSLT coding
Miscellaneous
Thread ID:
01260126
Message ID:
01260126
Views:
46
How do I compare date in XSLT. Here is my code
<xsl:if test="@discount_applies = 'Y'">
(
   <xsl:choose>
     <xsl:when test ="@date >= '09-28-2007'"></xsl:when>
     <xsl:otherwise>
       <xsl:value-of select="discountvalue" /><xsl:text> </xsl:text>
       <xsl:value-of select="@disc_value - @mk_value" />              
     </xsl:otherwise>
   </xsl:choose>
)
</xsl:if>
Please help.

Thanks,
Sam
Next
Reply
Map
View

Click here to load this message in the networking platform