Subject: RE: [xsl] WordML Question and normalize-space() question From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 19 May 2006 17:27:26 +0100 |
> > 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] WordML Question and norma, David Carlisle | Thread | [xsl] using trax to write files, Daniel Schaedler |
[xsl] Select nodes with an attribut, mysrdr-wrk | Date | RE: [xsl] Select nodes with an attr, Michael Kay |
Month |