🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: eviter XSLT

#467
From: Philippe Poulard
Date: Fri, 08 Jun 2007 08:16
41 lines
2536 bytes
Medhi Benkir a �crit :
> xmlizer a �crit :
>> On 31 mai, 20:44, Medhi Benkir <b...@maps.freesurf.fr> wrote:
>>> Que sugg�reriez-vous pour manipuler expertement des donn�es repr�sent�es
>>> sous la forme de fichiers XML avec un langage de programmation plus
>>> classique qu'XSLT ?
>>
>> Pourquoi avoir �liminer XSLT ?
>>
>> Xmlizer
> 
> HA, h� bien finalement, par hasard, j'ai trouv� une raison :
> 
> http://xmlfr.org/actualites/tech/000417-0001
> 
> J'avoue avoir du mal � programmer sans pouvoir utiliser de compteurs 
> (incr�menter/d�cr�menter des variables)

XSLT 1.0 est Turing-complet ; ce qui veut dire que tout ce que tu sais 
faire avec ton langage pr�f�r� pourra aussi �tre r�alis� en XSLT, m�me 
sans utiliser tes pr�cieux compteurs

bon, maintenant il y a des trucs que je n'imagine m�me pas r�aliser en 
XSLT sans spectaculaires contorsions : il faut utiliser le langage 
adapt� � tes besoins ; XSLT est adapt� au traitement des documents XML

avec XSLT, il faut avoir une approche diff�rente de la classique 
programmation proc�durale

http://fr.wikipedia.org/wiki/Programmation_fonctionnelle

-- 
Cordialement,

               ///
              (. .)
  --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
  -----------------------------
  http://reflex.gforge.inria.fr/
        Have the RefleX !
Technical Details
Message-ID: <f4b390$uss$1@news-sop.inria.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.cs.univ-paris8.fr!univ-lyon1.fr!news.ens-lyon.fr!news.imag.fr!news-rocq.inria.fr!news-sop.inria.fr!not-for-mail
References: <465f1758$0$24847$426a74cc@news.free.fr> <1180720893.270983.278050@p77g2000hsh.googlegroups.com> <46686561$0$9553$426a34cc@news.free.fr>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114f60,629dfad157eb1c37
X-Google-Attributes: gid114f60,public,usenet
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.cs.univ-paris8.fr!univ-lyon1.fr!news.ens-lyon.fr!news.imag.fr!news-rocq.inria.fr!news-sop.inria.fr!not-for-mail
From: Philippe Poulard <philippe.poulardNO@SPAMinria.fr>
Newsgroups: fr.comp.text.xml
Subject: Re: eviter XSLT
Date: Fri, 08 Jun 2007 10:16:35 +0200
Organization: INRIA - Unite de Recherche Sophia Antipolis (France)
Lines: 41
Message-ID: <f4b390$uss$1@news-sop.inria.fr>
References: <465f1758$0$24847$426a74cc@news.free.fr> <1180720893.270983.278050@p77g2000hsh.googlegroups.com> <46686561$0$9553$426a34cc@news.free.fr>
NNTP-Posting-Host: dahu2.inria.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: janus.inria.fr 1181290592 31644 138.96.213.1 (8 Jun 2007 08:16:32 GMT)
X-Complaints-To: abuse@sophia.inria.fr
User-Agent: Thunderbird 1.5.0.10 (X11/20070403)
In-Reply-To: <46686561$0$9553$426a34cc@news.free.fr>