Subject: Re: [xsl] How to test if existing tag/node contains a non-whitespace value? From: Michael Ludwig <milu71@xxxxxx> Date: Wed, 9 Dec 2009 19:43:47 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to test if existing tag/n, Ben Stover | Thread | Re: [xsl] How to test if existing t, Ben Stover |
[xsl] How to test if existing tag/n, Ben Stover | Date | Re: [xsl] How to test if existing t, Ben Stover |
Month |