|
Subject: Re: [xsl] xsl:if syntax problem From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Wed, 20 Mar 2002 14:19:06 +0100 |
<xsl:template match="entity">
<xsl:if test="onClick='' or not(onClick='')">
do processing
</xsl:if>
Or in other words: test=" A or not(A)" is always true.
However, this xsl does not appear to work. The xsl will run on the following xml code.
<entity id="e1"> <description>Customers</description> <oncontextmenu></oncontextmenu> <image>images/book.gif</image> <imageOpen>images/bookOpen.gif</imageOpen> <onClick>http://www.google.com</onClick>
Any help, tips, links will be much appreciated, Brian.
System Development VIRBUS AG Fon +49(0)341-979-7411 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] xsl:if syntax problem, Brian Moynihan | Thread | RE: [xsl] xsl:if syntax problem, Michael Kay |
| [xsl] xsl:if syntax problem, Brian Moynihan | Date | [xsl] XSL Stylesheet for Cross Brow, David Carlisle |
| Month |