xsl-list
[Top] [All Lists]

How to use an xml Element in xsl JavaScript?

2003-04-10 04:08:16
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



<Prev in Thread] Current Thread [Next in Thread>