RE: [xsl] test if attribute contains value and proceed

Subject: RE: [xsl] test if attribute contains value and proceed
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 25 Sep 2002 15:01:53 +0300
Hi,

> Hello I need to test if any of the 
> /investitionen/massnahme/@datum has a 
> value in it. if EVERY @datum is filled with an value, proceed.
> Something like:
> 
> <xsl:if test="/investitionen/massnahme/@datum">
> <fo:block>everything is ok!</fo:block>
> </xsl:if>
> 
> what do I not understand with my newbie brain?

not(/investitionen/massnahme/@datum = '')

Jarno

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread