Multiple if

Subject: Multiple if
From: "tmmet tvp" <tmmet@xxxxxxxxxxx>
Date: Wed, 02 Feb 2000 09:39:20 PST
Hi,
I'm using <xsl:if> in my xsl file...
I've multiple <xsl:if> statments...Where I'm caaling some functions...
Say like,
<xsl:template match="TEST">
<xsl:if expr ="CallTestisTrue("good")">
//do something...
</xsl:template>

<xsl:template match="MAIN">
<xsl:if expr ="CallFunction2("main","1")">
//do something...
</xsl:template>

I'm passing the parameters for the functions at runtime as follows(in my javascript)
CallFunction2= style.XMLDocument.selectSingleNode("//xsl:if/@expr")
CallFunction2.text = "CallFunction2("testing","trythis")"


If there is only one if statement in my xsl file,the above method works fine...If I've many <xsl:if>,how can I set the paramer values in my javascript...
Any ideas/suggesions will be greatly helpful foe me...Thanks in advance.





< ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread
  • Multiple if
    • tmmet tvp - Wed, 02 Feb 2000 09:39:20 PST <=
      • <Possible follow-ups>
      • Kay Michael - Wed, 2 Feb 2000 18:27:51 -0000