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

RE: WordML Question and normalize-space() question

Subject: RE: WordML Question and normalize-space() question
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 19 May 2006 17:27:26 +0100
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

Current Thread


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.
First Name
Last Name
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.