xsl-list
[Top] [All Lists]

How can I put some javascript into an xslt page

2003-06-17 08:48:56
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



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