Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XSLT coding
Message
De
10/10/2007 15:00:10
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
XSLT coding
Divers
Thread ID:
01260126
Message ID:
01260126
Vues:
47
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform