Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 3134

saxon-manual-9.4.0.9-2.mga7.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="xsl-elements" page="when" subpage=""/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: xsl:when</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: xsl:when"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>xsl:when</h1>
      <p>The <code>xsl:when</code> element is used within an <code>xsl:choose</code> element to indicate one
of a number of choices. It takes a mandatory parameter, <code>test</code>, whose value is a match
pattern. If this is the first xsl:when element within the enclosing xsl:choose whose test
 condition matches the current element, the content of the xsl:when element is expanded, otherwise
 it is ignored.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="with-param.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>