I have a query related to xsl choose , inside xsl choose is being used Now i have two xsl:when condition is there like as hsown below

<xsl:choose>
  <xsl:when test=$labcVar=$cde>
    <xsl:when test="$erf=$der">
      <xsl:value-of select="'edr'" />
    </xsl:when>
    <xsl:otherwise>
      <xsl:value-of select="'fre'" />
    </xsl:otherwise>

please advise is it the correct approach since insise xsl:when ..I have to begain only when first when condition becomes true the only I should go for second xsl:when condition, please advsie it is aloowed or not

Edit
Report