Article View: fr.comp.text.xml
Article #446Re: distinct
From: Jean-Charles Gibier
Date: Tue, 03 Apr 2007 20:57
Date: Tue, 03 Apr 2007 20:57
24 lines
1915 bytes
1915 bytes
xmlizer a �crit : > On 2 avr, 23:31, Jean-Charles Gibier <j- > c.gib...@wanadoo.withoutthis.fr.invalid> wrote: >> Alain Ketterlin a �crit : >> [...] >> >>> En 2.0 je ne sais pas, mais for-each-group et compagnie sont s�rement >>> l� pour �a (et probablement plus efficaces). >> Merci pour la piste. >> Je regarde �a. > > Bonjour, > > Voici la r�ponse en XSLT 2.0 > > <xsl:for-each-group select="xh:input[@type='radio']" group-by="@name"> > <!-- ici utiliser current-group() pour r�cup�rer le node set des > �lements dans le m�me groupe et current-grouping-key() pour r�cup�rer > la valeur courant de l'attribut @name --> > > </xsl:for-each-group> Tout � fait. C'est comme �a que je me suis d�brouill�. La piste �tait bonne ;-)
Technical Details
Message-ID:
<4612bfc1$0$27392$ba4acef3@news.orange.fr>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mailReferences:
<46102a35$0$27371$ba4acef3@news.orange.fr> <87odm75hcl.fsf@dpt-info.u-strasbg.fr> <4611764c$0$25922$ba4acef3@news.orange.fr> <1175589595.189324.160850@q75g2000hsh.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 114f60,c042a3fd192464af X-Google-Attributes: gid114f60,public X-Google-Language: FRENCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Date: Tue, 03 Apr 2007 22:57:40 +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: Re: distinct References: <46102a35$0$27371$ba4acef3@news.orange.fr> <87odm75hcl.fsf@dpt-info.u-strasbg.fr> <4611764c$0$25922$ba4acef3@news.orange.fr> <1175589595.189324.160850@q75g2000hsh.googlegroups.com> In-Reply-To: <1175589595.189324.160850@q75g2000hsh.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Lines: 24 Message-ID: <4612bfc1$0$27392$ba4acef3@news.orange.fr> Organization: les newsgroups par Orange NNTP-Posting-Date: 03 Apr 2007 22:57:37 CEST NNTP-Posting-Host: 82.121.200.228 X-Trace: 1175633857 news.orange.fr 27392 82.121.200.228:1164 X-Complaints-To: abuse@orange.fr