Re: [xsl] template matching with modes, not seeing what I expect

Subject: Re: [xsl] template matching with modes, not seeing what I expect
From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 15 Mar 2020 18:21:26 -0000
<xsl:choose>
      <xsl:when test="not(section)"><xsl:text>none</xsl:text></xsl:when>

if you get past that not(section) is false so  the following test is
   not(false() and not(title))
so it is always true

      <xsl:when test="not(not(section) and
not(title))"><xsl:text>all</xsl:text></xsl:when>

so you can not reach here
      <xsl:otherwise><xsl:text>mixed</xsl:text></xsl:otherwise>
    </xsl:choose>

Current Thread