|
Subject: [xsl] javascript variable in xsl:variable From: Ken Schulte <kschulte@xxxxxxxxxx> Date: Thu, 25 Apr 2002 16:56:29 -0400 |
Does anybody know if it is possible to add a javascript variable
into an xsl:variable?
example:
<xsl:template match="/">
<script language="javascript">
function test(strID)
{
<xsl:variable name="varID">
strID
</xsl:variable>
alert('<xsl:value-of select="$varID"/>
}
</script>
</xsl:template>
Thank you much,
Ken
________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Complex XPath Help, Christopher R. Maden | Thread | Re: [xsl] javascript variable in xs, Joerg Heinicke |
| Re: [xsl] Extending xsltproc?, Daniel Veillard | Date | Re: [xsl] standard method of docume, Steve Ball |
| Month |