[xsl] How to use an xml Element in xsl JavaScript?

Subject: [xsl] How to use an xml Element in xsl JavaScript?
From: John Barden <jb@xxxxxxxx>
Date: Thu, 10 Apr 2003 13:08:16 +0200
Hi,

how can I use a xml Element in a xsl Javascript? I tried it like this:

<script language="JavaScript">
<xsl:comment>
<![CDATA[
test = "<xsl:value-of select="document('../test.xml')/test/data/id"/>";
]]>
</xsl:comment>
</script>

but it's not working.
Can anyone tell me, how to do this?

thanks


greets
John


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


Current Thread