title: xquery if then statement issue
body: <p>I am trying this code on MarkLogic console and getting this error</p>
  
  <blockquote>
    <p>Unexpected token syntax error, unexpected If_</p>
  </blockquote>
  
  <p>Here is the code</p>
  
  <pre><code>let $name1 := "Bob"
  let $name2 := "John"
  
  if(fn:contains($name1, "Bo")) then
   return "Bob is good"
  else 
   return "John is good"
  </code></pre>