On Thu, Aug 19, 2010 at 10:58 AM, a kusa <akusa8(_at_)gmail(_dot_)com> wrote:
Hi
Is there any way in XSLT to check if the value between two nodes is a
whitespace?
I tried normalize-space(product/text()) !=' ' but that is not working.
I want tocheck if the actual value between <product> </product> is a
white space.
There is nothing like "value between two nodes" and also the text-node
child of <product> is not "between two nodes" because the tags
<product> and </product> are not nodes.
Any tips/suggestions?
product/text() and not(normalize-space(product/text()))
--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
Thanks in advance for your help/
--~------------------------------------------------------------------
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>
--~--