Subject: Re: [xsl] translate function From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx> Date: Mon, 30 Jun 2003 15:50:00 +0100 |
Are you sure that they are genuine spaces not some other sort, e.g. a non-breaking space?From: abbouh <abbouh@xxxxxxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: "XSL-List@xxxxxxxxxxxxxxxxxxxxxx" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Subject: [xsl] translate function Date: Mon, 30 Jun 2003 14:16:19 +0000
is there any restriction i the translate function, because i try to translate each escape in a sentence to '-' so i use this instruction: <xsl:value-of select="translate($caption_title,' ','-')"/> but it wasn't translated well. for example: for <xsl:value-of select="translate('Figure 1. Répartition des alimentations dans la baie SK (vue avant)',' ','-')"/> i get: Figure-1.--Répartition des alimentations dans la baie SK (vue avant) but i should get : Figure-1.--Répartition-des-alimentations-dans-la-baie-SK-(vue-avant)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] translate function, David Carlisle | Thread | RE: [xsl] translate function, Greg Alvord |
RE: [xsl] number continuation probl, Andrew Welch | Date | RE: [xsl] number continuation probl, Andrew Welch |
Month |