[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: template matching with modes, not seeing what I e

Subject: Re: 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
Re:  template matching with modes
<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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.