Subject: RE: [xsl] Problem with xsl:choose From: "Oleg Tkachenko" <olegt@xxxxxxxxxxxxx> Date: Wed, 8 Aug 2001 11:33:50 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Problem with xsl:choose, Michael Kay | Thread | RE: [xsl] Problem with xsl:choose, Jarno . Elovirta |
RE: [xsl] List in a variable, Oleg Tkachenko | Date | Re: [xsl] TransformerException, Johannes Döbler |
Month |