RE: XSLT: check if value is whitespace(s)
> > Following up myself, the situation is that I need to check > if a given > > value consists of one or more blanks. Not sure if these > actually count > > as whitespaces? > > There is no unicode character called blank. > If you mean a space character (32) then that is white > If you mean (for example) a non breaking space (160) that is > non-white. > I get upset by people spelling "whitespace" as two words, as if it described that subset of spaces that are white (as distinct from those that are green or blue). In fact, of course, there are four whitespace characters and only one space character. There are other characters whose rendition uses no ink, and which also use the word "space" in their names, that are neither space nor whitespace characters, for example zero-width-space. Don't blame me. Michael Kay
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format