🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [XSLT] tris et ruptures

#9018
From: Rapha�l THERY
Date: Fri, 22 Jun 2001 14:18
46 lines
2571 bytes
Ce que je ne comprends pas c'est qu'en pr�cisant un seul sort j'obtiens une
bonne rupture!

Je vais de ce pas � l'adresse indiqu�e, merci !

Rapha�l


Thomas Broyer <ptittom+news@free.fr> a �crit dans le message :
1067647.IhKElGaqSP@ltgt.net...
> In <RnEY6.1071$wi7.625807@nnrp6.proxad.net>, Rapha�l THERY wrote:
> > <xsl:template match="xxx">
> > <html>
> >     <xsl:apply-templates select="yyy">
> >         <xsl:sort select="@type" order="ascending" />
> >         <xsl:sort select="@nom" order="ascending" />
> >     </xsl:apply-templates>
> > </html>
> > </xsl:template>
> >
> > <xsl:template match="yyy">
> >     <xsl:value-of select="@nom" /> - <xsl:value-of select="@type"
/><br/>
> > </xsl:template>
> >
> > Le probl�me c'est qu'� chaque changement de type je souhaite faire une
> > rupture ... et c'est �a que je n'arrive
> > pas � faire fonctionner. le pr�c�dent est pour lui toujours le m�me.
> >
> > <xsl:template match="yyy">
> >     <xsl:if test="not(preceding-sibling::yyy[@type = current()/@type])">
> >         <h1><xsl:value-of select="@type" /></h1>
> >     </xsl:if>
> >
> >     <xsl:value-of select="@nom" /> - <xsl:value-of select="@type"
/><br/>
> > </xsl:template>
>
> Preceding-sibling et autres axes s'adressent au document, pas � la liste
de
> noeuds courante.
>
> Jette un oeil sur <http://www.dpawson.co.uk/xsl/sect2/N6280.html> tu
> devrais s�rement y trouver quelque chose d'int�ressant.
>
> Tom.
Technical Details
Message-ID: <jtIY6.1172$Z14.934003@nnrp6.proxad.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!freenix!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail
References: <RnEY6.1071$wi7.625807@nnrp6.proxad.net> <1067647.IhKElGaqSP@ltgt.net>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,689cfa80abbd4d0f
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-06-22 07:18:56 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!freenix!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail
From: "Rapha�l THERY" <raphael.thery@free.fr>
Newsgroups: fr.comp.text.xml
References: <RnEY6.1071$wi7.625807@nnrp6.proxad.net> <1067647.IhKElGaqSP@ltgt.net>
Subject: Re: [XSLT] tris et ruptures
Lines: 48
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <jtIY6.1172$Z14.934003@nnrp6.proxad.net>
Date: Fri, 22 Jun 2001 14:18:55 GMT
NNTP-Posting-Host: 195.115.154.77
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp6.proxad.net 993219535 195.115.154.77 (Fri, 22 Jun 2001 16:18:55 CEST)
NNTP-Posting-Date: Fri, 22 Jun 2001 16:18:55 CEST
Organization: Guest of ProXad - France