🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

distinct

#443
From: Jean-Charles Gibier
Date: Sun, 01 Apr 2007 21:55
27 lines
1600 bytes
Bonjour,

Dans un format xhtml comment parser avec xslt 2.0 le groupe d'�l�ments 
'input' de type="radio" en faisant un "distinct" en fonction de 
l'attribut "name" ?

Donc autrement dit :

<patati ...>
<patata ...>
...
<input type="radio" name="nom1" value="Non" />
<input type="radio" name="nom1" value="Oui" />
<input type="radio" name="nom2" value="Non" />
<input type="radio" name="nom2" value="Oui" />
<input type="radio" name="nom2" value="Peut �tre" />
...
</patata ...>
</patati ...>

En sortie il me faudrait juste les noms distincts :

nom1
nom2

Comment faire ?
Thx.
Technical Details
Message-ID: <46102a35$0$27371$ba4acef3@news.orange.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.fr!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 114f60,c042a3fd192464af,start
X-Google-Attributes: gid114f60,public
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.fr!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail
Date: Sun, 01 Apr 2007 23:55:02 +0200
From: Jean-Charles Gibier <j-c.gibier@wanadoo.withoutthis.fr.invalid>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
Newsgroups: fr.comp.text.xml
Subject: distinct
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 27
Message-ID: <46102a35$0$27371$ba4acef3@news.orange.fr>
Organization: les newsgroups par Orange
NNTP-Posting-Date: 01 Apr 2007 23:55:01 CEST
NNTP-Posting-Host: 81.48.43.211
X-Trace: 1175464501 news.orange.fr 27371 81.48.43.211:2798
X-Complaints-To: abuse@orange.fr