Hi Michael,
thank you, but can I achieve this with an
<xsl:if test=.....>
expression as well?
Ben
On Wed, 9 Dec 2009 19:43:47 +0100, Michael Ludwig wrote:
Ben Stover schrieb am 09.12.2009 um 19:38:00 (+0100):
Assume a template matches a input tag like
<aaa>(0 or more whitespaces)</aaa>
How can I test if this node contains a non-whitespace value?
Use normalize-space():
<xsl:template match="aaa[normalize-space()]"> ...
--
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>
--~--
--~------------------------------------------------------------------
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>
--~--