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.
($testString represents an element in a XML tree)
<xsl:apply-templates select="$testString">
<xsl:template match="$testString">
I have tried using the following but neither seem to work
<xsl:apply-templates select="xx:node-set($testString)">
<xsl:apply-templates select="exslt:node-set($testString)">
Is there a away to convert the string to another variable which ahs NodeList properties? Or is there anyway around this?
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.