|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] creating an rtf/node-set from <script> function
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








