[xsl] Set XSL-Value in a JavaScript

Subject: [xsl] Set XSL-Value in a JavaScript
From: henry human <henry_human@xxxxxxxx>
Date: Tue, 30 Sep 2008 13:12:22 +0200 (CEST)
I am trying to set an html action dynamically . 
The prameter which I set for the action is saved in
xml file.
With the following code I can not set the parameter in
the JavaScript.
Thanks for any hint

<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
  <xsl:template match="/details">
  <script type="text/javascript">
function OnSendForm(emailAdress)
document.myForm.action =emailAdress;
     <p>Send feedback!</p>

   <form method="post" enctype="text/plain"
name="myForm" action="">
         <textarea name="mail" rows="7" cols="15" />
             <input type="submit" value="Send!"
select="/details/address" /> )" />


<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="text.xsl" ?>

    <address >mailto:mymail@xxxxxxxxxx</address>

Current Thread