title: How to pass Two or more parameters using XSL attribute
body: <p>I m calling a javascript function through xsl using  like this:</p>
  
  <pre><code>    &lt;xsl:attribute name="onclick"&gt;
       &lt;xsl:text&gt;Toggle(&lt;/xsl:text&gt;
       &lt;xsl:value-of select="$i"/&gt;
       &lt;xsl:text&gt;)&lt;/xsl:text&gt;
      &lt;/xsl:attribute&gt;
  </code></pre>
  
  <p>and the function is this:</p>
  
  <pre><code>    function Toggle(ID)
       {
          ------
       }
  </code></pre>
  
  <p>what if I have to pass two parameters instead??
  viz. how can I call this function??</p>
  
  <pre><code>    function Toggle(ID1, ID2)
      {
        -----
      }
  </code></pre>
  
  <p>Currently i m doing this:</p>
  
  <pre><code>    &lt;xsl:attribute name="onclick" xmlns:xsl="#unknown"&gt;
        &lt;xsl:text&gt;Toggle(&lt;/xsl:text&gt;
        &lt;xsl:value-of select="$i" /&gt; 
        &lt;xsl:text&gt;,ID)&lt;/xsl:text&gt;
      &lt;/xsl:attribute&gt;
  </code></pre>
  
  <p>Is this right???</p>