title: Converting a string as a nodelist in xsl
body: <p>I currently have a string (XSLT 1.0) which I'd like to turn into a NodeList so that it can be used the following example.</p>
  
  <p>($testString represents an element in a XML tree)</p>
  
  <pre><code>&lt;xsl:apply-templates select="$testString"&gt;
  
  &lt;xsl:template match="$testString"&gt;
  </code></pre>
  
  <p>I have tried using the following but neither seem to work</p>
  
  <pre><code>&lt;xsl:apply-templates select="xx:node-set($testString)"&gt;
  &lt;xsl:apply-templates select="exslt:node-set($testString)"&gt;
  </code></pre>
  
  <p>Is there a away to convert the string to another variable which ahs NodeList properties?  Or is there anyway around this?</p>
  
  <p>Update:  I currently have a JSP which calls an XSL using XML.  The JSP page takes in a string which is passed to the XSL page.  The string represents an element in the XML.  I am trying to search through each Node looking for that element and return the value of the element.</p>