[xsl] How can I put some javascript into an xslt page

Subject: [xsl] How can I put some javascript into an xslt page
From: Lionel Crine <crine@xxxxxxxxxxxx>
Date: Tue, 17 Jun 2003 17:48:56 +0200
I'm using xalan as salt parser.

Can you show me real example.

Here is what I tried but the value nbuser is not found.


<xsl:template match="users"> <xsl:variable name="nbuser">hello</xsl:variable> <script language="javascript"> function lionel() { document.write(string($nbuser)); } </script> <script language="javascript">lionel();</script>

...


ANy idea ?




Lionel CRINE
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


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



Current Thread