<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="extensions" page="attributes" subpage="assignable"/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: saxon:assignable</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: saxon:assignable"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>saxon:assignable</h1>
      <p>This attribute may be set on a global <code>xsl:variable</code> element. The permitted values
are "yes" and "no". If the variable is the subject of a
<a class="bodylink" href="../../extensions/instructions/assign.xml">saxon:assign</a> instruction, it must be set to the value "yes".
Setting this value to "yes" also ensures that the variable is actually evaluated, which is
useful if the <code>select</code> expression calls extension functions with side-effects;
without this, a variable that is never referenced may never be evaluated.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="explain.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>