Re: [xsl] How to Handel whitespace in xsl:if test

Subject: Re: [xsl] How to Handel whitespace in xsl:if test
From: "Alexander Johannesen" <alexander.johannesen@xxxxxxxxx>
Date: Sun, 4 Jun 2006 17:01:06 +1000
Hi,

On 6/4/06, oknam park <ponda7777@xxxxxxxxxxx> wrote:
xsl:if test="Adult education"

Could you let me know how to handle whitespace here?

In your example you're testing for something that never will be true. If you mean, testing for string literals, try something like ;

<xsl:if test="normalize-space('Adult education')" ... />


Alex -- "Ultimately, all things are known because you want to believe you know." - Frank Herbert __ http://shelter.nu/ __________________________________________________

Current Thread