|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: WordML Question and normalize-space() question
> > I'm wondering if it's possible to
> > normalize all the space without removing the leading and trailing
> > whitespace?
>
> <xsl:variable name="x" select="normalize-space(concat('!',.,'!'))"/>
> <xsl:value-of select="substring($x,2,string-length($x)-2)"/>
I thought of that, but this normalizes the leading and trailing whitespace.
Perhaps that's what he wanted, who knows!
Michael Kay
http://www.saxonica.com/
|
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
|

Cart








