[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Multiple if

Subject: Multiple if
From: "tmmet tvp" <tmmet@xxxxxxxxxxx>
Date: Wed, 02 Feb 2000 09:39:20 PST
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.





< ______________________________________________________ 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.