Subject: Re: How to test if existing tag/node contains a non-whitespace value?
From: Michael Ludwig <milu71@xxxxxx>
Date: Wed, 9 Dec 2009 22:10:10 +0100
|
Ben Stover schrieb am 09.12.2009 um 21:14:18 (+0100):
> Hi Michael,
>
> thank you, but can I achieve this with an
>
> <xsl:if test=.....>
>
> expression as well?
Of course you can, why don't you just try it?
<xsl:if test="normalize-space()"> ...
<xsl:if test="normalize-space(aaa)"> ...
The thing to be aware of here is the current context.
--
Michael Ludwig
|