how can i put two function in one onclick attribute? XSLT
<p>XML:</p>

<pre><code>&lt;CONTROLS&gt;
        &lt;BUTTON&gt;
               &lt;input name="myButton" onclick="existingFunction();"/&gt;
        &lt;/BUTTON&gt;
        &lt;LABEL&gt;
               Text ME
        &lt;/LABEL&gt;

  &lt;/CONTROLS&gt;
</code></pre>

<p>XSLT:</p>

<pre><code>  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
 &lt;xsl:output omit-xml-declaration="yes" indent="yes"/&gt;

 &lt;xsl:template match="input"&gt;
   &lt;input onclick="{@onclick}newFunction();"&gt;
      &lt;xsl:copy-of select="@*[not(name()='onclick')]"/&gt;
   &lt;/input&gt;
 &lt;/xsl:template&gt;

&lt;/xsl:stylesheet&gt;
</code></pre>

<p>how can i put two functions in one onclick attribute?</p>

<p>result:</p>

<pre><code>&lt;input onclick="existingFunction();newFunction();" name="myButton"/&gt;
</code></pre>

<p>its not working. is there any other way to merge this two functions?? </p>

<p>i dont want to put the function 2 inside the function 1. :)</p>
