<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//MAKUMBA//DTD Documentation V2.0//EN" "document-v20-mak.dtd"><document>
    <header>
        <title>mak:if tag documentation</title>
    </header>
    <body>
        <section id="description">
      
      
          <title>Description</title>      <p>Displays the body of the tag only if the OQL expression evaluates to true.</p>    </section>
        <section id="attributes">
            <title>Attributes</title>
            <table>
                <tr>
                    <th>Name</th>
                    <th>Required</th>
                    <th>Request-time</th>
                    <th>Description</th>
                    <th>Comments</th>
                </tr>
                <tr>
                    <td>test</td>
                    <td class="center required">true</td>
                    <td class="center">false</td>
                    <td>OQL SELECT  projection expression. It must be a test, resulting in a 'boolean' in SQL : 0 or 1.

for the test expressions: =, !=, &lt;, &lt;=, &gt;, &gt;=
</td>                    <td class="missingDoc">Document me please</td>
                </tr>
            </table>
        </section>
        <section id="example">
      
          <title>Example</title>      <source>
      <![CDATA[
<mak:list from="best.Student s" where="s.person.birthdate <> nil" orderBy="s.name">
    <mak:value expr="s.person.name"/>
    <mak:if test="s.person.hideAge = 0">
        was born on <mak:value expr="s.person.birthdate" />
    </mak:if>
</mak:list>
      ]]>
  </source>    </section>
    </body>
</document>