In an xsl choose statement how can I test for the value of a js variable
===

Ok so Im working with an xsl file and have an xsl choose statement which i wish to help conditionally display records from my xml. in the code below I test `DAS_ID` to be equal to `*someValue*`
This works if I hardcode a value in such as `<xsl:when test="DAS_ID = 5 ">` but wish to compare the .  What I'm trying to do is replace `*value*` with a javascript variable...or at least the current value of that js variable.  Is this possible? any suggestions?

    
     <xsl:choose>
      <xsl:when test="DAS_ID = *someValue* ">
       <td bgcolor="#ff00ff">
       <xsl:value-of select="HTML_ID"/>
       </td>
      </xsl:when>
    <xsl:otherwise>
      <td>not matched</td>
      </xsl:otherwise>
    </xsl:choose>

Much appreciated,