Subject: Re: [xsl] check for whitespace value between nodes From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 20 Aug 2010 11:15:18 -0400 |
On Thu, 2010-08-19 at 12:58 -0500, a kusa 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.
Whitespace is a tricky thing to get right. It's impossible to give you a good answer without knowing more about what you are trying to do and why, and the context, and without seeing your XSLT.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] check for whitespace valu, Liam R E Quin | Thread | Re: [xsl] check for whitespace valu, Dimitre Novatchev |
Re: [xsl] Merging like Siblings wit, Martin Honnen | Date | Re: [xsl] Merging like Siblings wit, Alex Muir |
Month |