← all checks
warning //xsl:choose[(count(*) = 1)]

Use single option for choose

An xsl:choose with only one xsl:when branch is equivalent to xsl:if. Use the simpler xsl:if instead.

Incorrect:

<xsl:choose>
  <xsl:when test="@active">Active</xsl:when>
</xsl:choose>

Correct:

<xsl:if test="@active">Active</xsl:if>