|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Multiple if
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.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








