title: Calling apply template on a variable value in xslt
body: <p>In my xslt, I am calling external code to assign a node set to a xslt variable. I would now like to apply template on this node set.</p>
  
  <pre><code>&lt;xsl:variable name="var1" select="ExtObject:GetNodeSet()"/&gt;
  </code></pre>
  
  <p>So far I have seen that templates can be applied to input xml document. But can I parse the xml assigned to <code>var1</code> with apply templates and reflect the result in the output document?</p>