🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #8193

Re: Appliquer une fonction XPath � tout un arbre

#8193
From: Pascal CESCON
Date: Mon, 05 Nov 2001 16:05
21 lines
1749 bytes
merci


"Alain Ketterlin" <alain@dpt-info.u-strasbg.fr> a �crit dans le message de
news: wyk7x91b5o.fsf@polya.u-strasbg.fr...
> "Pascal CESCON" <pascal.cescon@cityneo.com> writes:
>
> > Je voudrais appliquer � toute une arborecence XML une fonction Xpath
> > (transalte(machaine,"���","eea") par exemple) .
> > Et ensuite appliquer une mise en forme.....
>
> Pas possible en deux etapes, mais on peut faire cela pour chaque
> morceau de texte emis en sortie.
>
> > COmment puis-je faire ? merci
>
> Definir un template match="text()" et utiliser apply-templates
> select="text()" (ou ".//text()") au lieu de value-of. Et le dit
> template fait le translate.
>
> -- Alain.
Technical Details
Message-ID: <9s6dbg$8bi$1@wanadoo.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!wanadoo.fr!not-for-mail
References: <9rudls$5d9$1@wanadoo.fr> <wyk7x91b5o.fsf@polya.u-strasbg.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,a41aba4db979c496
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-11-05 08:05:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!wanadoo.fr!not-for-mail
From: "Pascal CESCON" <pascal.cescon@cityneo.com>
Newsgroups: fr.comp.text.xml
Subject: Re: Appliquer une fonction XPath � tout un arbre
Date: Mon, 5 Nov 2001 17:05:03 +0100
Organization: Wanadoo, l'internet avec France Telecom
Lines: 23
Message-ID: <9s6dbg$8bi$1@wanadoo.fr>
References: <9rudls$5d9$1@wanadoo.fr> <wyk7x91b5o.fsf@polya.u-strasbg.fr>
NNTP-Posting-Host: amarseille-101-1-1-5.abo.wanadoo.fr
X-Trace: wanadoo.fr 1004976304 8562 193.252.177.5 (5 Nov 2001 16:05:04 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 5 Nov 2001 16:05:04 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000