xsl-list
[Top] [All Lists]

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

2006-06-04 00:01:22
Hi,

On 6/4/06, oknam park <ponda7777(_at_)hotmail(_dot_)com> 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/ __________________________________________________

--~------------------------------------------------------------------
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>
--~--