Subject: xsl:if question From: "Matthew Cordes" <mcorde61@xxxxxxxxx> Date: Fri, 7 Apr 2000 03:37:18 -0400 |
I want to show a block of text only if two xml element are different. I'm not sure what the error is in the following; Please if someone could explain why it doesn't work, I would greatly appreciate it. ... <xsl:template match="/foo"> <xsl:if test="{/foo/bar} != {/foo/cow}"> la la la ..... </xsl:if> <!-- The above line is where my confusion lies. I want to test to see if the two element are not the same. It always evaluates to false, which is not the desired behavior --> </xsl:template> ... -matt XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Reference book on XSL?, John E. Simpson | Thread | Re: xsl:if question, David Carlisle |
RE: Why wont this work?, Linda van den Brink | Date | RE: when question - am I doing some, Linda van den Brink |
Month |