<?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet href="../make-menu.xsl" type="text/xsl"?><html> <head> <this-is section="expressions" page="boolean" subpage=""/> <!-- Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: Boolean expressions: AND and OR</title> <meta name="coverage" content="Worldwide"/> <meta name="copyright" content="Copyright Saxonica Ltd"/> <meta name="title" content="Saxonica: XSLT and XQuery Processing: Boolean expressions: AND and OR"/> <meta name="robots" content="noindex,nofollow"/> <link rel="stylesheet" href="../saxondocs.css" type="text/css"/> </head> <body class="main"> <h1>Boolean expressions: AND and OR</h1> <p>The expression <code>E1 and E2</code> returns true if the <i>effective boolean values</i> of <code>E1</code> and <code>E2</code> are both true.</p> <p>The expression <code>E1 or E2</code> returns true if the <i>effective boolean values</i> of either or both of <code>E1</code> and <code>E2</code> are true.</p> <table width="100%"> <tr> <td> <p align="right"><a class="nav" href="sequence.xml">Next</a></p> </td> </tr> </table> </body> </html>