title: how to create a xsl:function that returns a boolean
body: <p>I want to create a xsl:function with a few parameters that can return a boolean, i'm having troubles:</p>
  
  <pre><code>&lt;xsl:if test="my:isEqual($Object1, $Object2)"&gt;SAME!&lt;/xsl:if&gt;
  
  &lt;xsl:function name="my:isEqual"&gt;
      &lt;xsl:param name="Object1" /&gt;
      &lt;xsl:param name="Object2" /&gt;
  
      &lt;xsl:variable name="Object1PostalCode select="$Object1/PostalCode" /&gt;
      &lt;xsl:variable name="Object2PostalCode select="$Object2/PostalCode" /&gt;
      &lt;xsl:if test="$Object1PostalCode = $Object2PostalCode"&gt;
          !!!What to do here!!!
      &lt;/xsl:if&gt;
  &lt;/xsl:function&gt; 
  </code></pre>