Subject: RE: [xsl] 'fn:normalize-space', but with 0 or 1 heading/trailing space From: Florent Georges <darkman_spam@xxxxxxxx> Date: Wed, 28 Dec 2005 00:19:41 +0100 (CET) |
Michael Kay wrote: > Use concat() to add a non-space character (e.g. "#") fore > and aft, then apply normalize-space(), then strip off the > leading and trailing "#" using substring(). > Or in XPath 2.0, just do replace($in, '\s+', ' ') As simple as I expected :-) Thanks, --drkm ___________________________________________________________________________ Nouveau : tiliphonez moins cher avec Yahoo! Messenger ! Dicouvez les tarifs exceptionnels pour appeler la France et l'international. Tilichargez sur http://fr.messenger.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] removing namespace, Peter Ivan | Thread | [xsl] Could not compile stylesheet , UlyLee |
RE: [xsl] removing namespace, Michael Kay | Date | Re: [xsl] FO: center a table, Florent Georges |
Month |