title: How to pass the value to a user-defined function in XSLT
body: <p>I want to pass the value of <code>employee_name</code> that I get from XML to a user-defined function in XSL. Please see the code below:</p>
  
  <pre><code>&lt;xsl:for-each select="employees/employee"&gt;
    &lt;xsl:value-of select="employee_name"/&gt;
    &lt;xsl:value-of select="
      my:compareCI(
        '--how to pass employee_name Value--',
        '--how to pass employee_name Value--'
      )
    " /&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>Please any help me as I am new to XSL.</p>