[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Stylesheet to remove comments and insignificant w
> What's the reason for the space here? > > At 09:18 AM 2/28/2003, you wrote: > > <xsl:template match="text()"> > > <xsl:if test="not(normalize-space(text()) = ' ')"> > ^ > > LF-only whitespace will pass this test, since normalized it's = '' not = ' '. normalize-space() doesn't remove all whitespace, just condenses all adjacent whitespace to one space. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|