[xsl] creating an rtf/node-set from <script> function

Subject: [xsl] creating an rtf/node-set from <script> function
From: "Gary Tyree" <nonamemeil@xxxxxxxxxxx>
Date: Fri, 01 Aug 2003 09:07:59 -0400
ultimately, I'm trying to create a node-set (via node-set()) from a string returned from script. below is a snippet of my code. variable $dt works like a great <xsl:value-of select="msxsl:node-set($dt)/name"/>. however, variable $st doesn't. is there a way to convert a string, say returned from script, into an rtf or node-set?
.
.
.
<msxsl:script language="JavaScript" implements-prefix="myScript">
<![CDATA[
function pData()
pData = "<name id='3'>Rum and Coke</name>"
end function
]]>
</msxsl:script>
.
.
.
<xsl:variable name="dt">
<name id='7'>Harvey Wallbanger</name>
</xsl:variable>


<xsl:variable name="st">
<xsl:value-of select="myScript:pData()"/>
</xsl:variable>


Thanks


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread