Article View: fr.comp.text.xml
Article #246Re: XSLT XPath function: string translate (string, string, string)
From: Une Bévue
Date: Mon, 30 Jan 2012 22:27
Date: Mon, 30 Jan 2012 22:27
18 lines
2419 bytes
2419 bytes
Alain Ketterlin <alain@dpt-info.u-strasbg.fr> wrote:
>
> Soit tu utilises un particularit� de ton processeur XSLT, soit tu passes
> par EXSLT (http://www.exslt.org/func/index.html). La seconde solution
> n'est pas forc�ment moins sp�cifique que la premi�re, mais a plus de
> chance de se transposer � un autre processeur.
oui, c'est ce que j'ai commenc� � regarder.
il n'y a pas la fonction que je recherche, mais je peux sans doute
l'impl�menter en js...
en fait c'est tout b�te :
<xsl:value-of select="translate($string, '������������������������������
?', 'AAAEEEEIIOOUUUCaaaeeeeiioouuuc--')"/>
--
� Tel n'a de chaleur pour ses amis, que pour les br�ler. �
(Proverbe arabe)
Technical Details
Message-ID:
<1kepgo2.67okdz1aq199bN%unbewusst.sein@fai.invalid>Path:
arc1-ca.pugleaf.net!lh20ni242587pbb.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-a.proxad.net!nnrp13-1.free.fr!not-for-mailReferences:
<1kep1sr.1xxpnol1l1asfcN%unbewusst.sein@fai.invalid> <1kep2fp.se7k0ey5cxjlN%unbewusst.sein@fai.invalid> <878vkp3yec.fsf@dpt-info.u-strasbg.fr>Show Full Headers
Complete Article Headers
X-Google-Thread: 114f60,233e95a1a9934a45
X-Google-NewGroupId: yes
X-Google-Attributes: gid8a75585569,domainid0,public,usenet
X-Google-Language: FRENCH,ASCII
Received: by 10.68.73.229 with SMTP id o5mr12122706pbv.7.1327962444997;
Mon, 30 Jan 2012 14:27:24 -0800 (PST)
Path: arc1-ca.pugleaf.net!lh20ni242587pbb.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-a.proxad.net!nnrp13-1.free.fr!not-for-mail
Newsgroups: fr.comp.text.xml
Subject: Re: XSLT XPath function: string translate (string, string, string)
From: unbewusst.sein@fai.invalid (Une Bévue)
Date: Mon, 30 Jan 2012 23:27:24 +0100
Message-ID: <1kepgo2.67okdz1aq199bN%unbewusst.sein@fai.invalid>
References: <1kep1sr.1xxpnol1l1asfcN%unbewusst.sein@fai.invalid> <1kep2fp.se7k0ey5cxjlN%unbewusst.sein@fai.invalid> <878vkp3yec.fsf@dpt-info.u-strasbg.fr>
MIME-Version: 1.0
Organization: Oedipe Roi
X-Face: &pPJZaj=yETTJi[(==kP&`'Q;P^*m-|g$gyxFPnI&&}+;Ul=lZ_p6pQS!\#x]
U4[^EN"1.E)El1acOX,9T\P2).0&^\5Fg';UzeOPF5\Su)"]oXFO9e=Z*Z4!+/</>A!Z
GQ"IgmAM7Z%1AC9=w*Z&0:->1#.}/|4:GT1KOLp7CQkIm-ZdRm2RrCbD}|X<[VFA?]gI
DX68liFMy#}lH<Vi'pewlEDG\>]RIKyk#]pSaJTB_RA7EY%Js^>{o)v#DZS&k#zv|Nsj
O/aWDf\hl1+iN<IKtS%a?A:\yu;Q{.]fD%ObQgY?{2szAy_U
User-Agent: MacSOUP/F-2.8.3 (Mac OS X version 10.7.2 (x86))
Lines: 18
NNTP-Posting-Date: 30 Jan 2012 23:27:24 MET
NNTP-Posting-Host: 82.226.217.239
X-Trace: 1327962444 news-2.free.fr 12413 82.226.217.239:52822
X-Complaints-To: abuse@proxad.net
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit