title: How to declare a user-defined function returning node-set?
body: <p>I want something like this:</p>
  
  <pre><code>&lt;msxsl:script language="C#"&gt;
     ??? getNodes() { ... return ... }
  &lt;/msxsl:script&gt;
  
  &lt;xsl:for-each select="user:getNodes()"&gt;
      ...
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>What return type should i use for <code>getNodes()</code> and what should i put in it's body?</p>