|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Problem with xsl:choose
Hello Lakshmi ! > I have an xml file in the following format > > <main> > <timer> On </timer> (this could be either "On" of "Off" or "Manual") > </main> > > <xsl:template match = "main/timer"> > <xsl:choose> > <xsl:when test=" main/timer = 'On'"> This test is always false, because your current node <timer> doesn't have any chidren named <main>. Try <xsl:when test=".='On'"> --- Oleg Tkachenko Multiconn International 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








