Subject: Re: [xsl] XSLT: question re testing for possibly empty elements From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 17 Aug 2004 12:40:45 -0400 |
I guess what the original author really meant was to check if the element is "empty or non-white" - because the data stored in anElement would be a car's license number and it makes no sense to return spaces (which are invisible on the print-out) when there's alternative data stored (which he retrieves in the otherwise-branch).
I reckon my test with normalize-space() is more accurate.
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] XSLT: question re testing, Ralph Holz | Thread | [xsl] FO: nested tables not appeari, Jonathan Gruenhut |
Re: [xsl] Lookup Table?, Wendell Piez | Date | Re: [xsl] Dynamically generating li, Brendan Moran |
Month |