Thursday, 24 January 2019

How to use element inXSLT

How to use <xsl:choose> element inXSLT?

Answer:


When we want to use <xsl:choose> element in XSL file.Than we use <xsl:when> and<xsl:otherwise> inside the <xsl:choose> element.Using them we can show multiple conditional test cases. Syntax: <xsl:choose> <xsl:when test="expression"> ... Than gives that output ... </xsl:when> <xsl:otherwise> ... Than gives that output .... </xsl:otherwise> </xsl:choose>

No comments:

Post a Comment