xsl-list
[Top] [All Lists]

Re: [xsl] How to test if existing tag/node contains a non-whitespace value?

2009-12-09 16:11:23
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--