🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Debutant XML XSL

#9426
From: Thomas RECLOUX
Date: Thu, 05 Apr 2001 14:28
29 lines
1448 bytes
Bonjour � tous, je debute en XSL et j'aimerai faire une transformation assez
simple de XML vers HTML

en gros j'ai une structure de description d'adresse qui contient notamment
un pays, a l'affichage, si le pays est la france, il faut cocher un radio
boutton et un autre sinon.

structure XML
<ADRESSE>
    <PAYS>
        FRANCE
    </PAYS>
    ....
</ADRESSE>

HTML : si pays = FRANCE
<INPUT TYPE="RADIO" CHECKED="true"/>
Francaise
<INPUT TYPE="RADIO" />
Etrangere


sinon :
<INPUT TYPE="RADIO"/>
Francaise
<INPUT TYPE="RADIO" CHECKED="true" />
Etrangere

Je vois vraimment pas comment faire . Merci d'avance
Technical Details
Message-ID: <9ahvar$5dpl3$1@ID-33075.news.dfncis.de>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!uni-berlin.de!srvinter.norsys.FR!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,1eccdd9c99059d7d,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-04-05 07:28:02 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!uni-berlin.de!srvinter.norsys.FR!not-for-mail
From: "Thomas RECLOUX" <trecloux@norsys.fr>
Newsgroups: fr.comp.text.xml
Subject: Debutant XML XSL
Date: Thu, 5 Apr 2001 16:28:59 +0200
Lines: 32
Message-ID: <9ahvar$5dpl3$1@ID-33075.news.dfncis.de>
NNTP-Posting-Host: srvinter.norsys.fr (195.101.73.129)
X-Trace: fu-berlin.de 986480799 5695139 195.101.73.129 (16 [33075])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400