[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: monotonous nbsp coding

Subject: Re: monotonous nbsp coding
From: Greg Faron <gfaron@xxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Nov 2002 10:26:53 -0700
Re:  monotonous nbsp coding
At 05:47 PM 11/13/2002, you wrote:
Greg Faron wrote:
> normalize-space(string-length(.)) = 0

That's a lot of extra work.

That was kinda the point. I was illustrating that there's practically an infinite number of ways to do something, not that they were all equally efficient. I also realized after I posted that I meant to say
"string-length(normalize-space(.)) = 0"
but I'm glad to see from your post that it would work either way. Besides which, isn't this one of those things that the better XSLT engines will optimize to the best form? I also suppose that the "best form" could be XSLT engine-dependent, but probably it is "not(string())".



Greg Faron Integre Technical Publishing Co.



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.