🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Traiter les n premiers fils d'un noeud en xsl

#8973
From: Vincent Leconte
Date: Thu, 05 Jul 2001 15:58
14 lines
1470 bytes
Je me r�pond � moi m�me pour ceux qui aurait le m�me probl�me:
il suffit d'utiliser position( )

dans mon cas on fait:

    <xsl:template match="champ">
        <xsl apply-template select="occurchamp[n >= position( )]">
    </xsl:template>

    <xsl:template match="occurchamp">
        ...
    </xsl:template>

voila, (peut �tre tout le monde le savait d�j� mais bon)
Technical Details
Message-ID: <9i22qj$i7p$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!nnrp.oleane.net!not-for-mail
References: <9i1uv2$gap$1@s1.read.news.oleane.net>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,d4792c2b6a9aadd4
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-07-05 09:00:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "Vincent Leconte" <v.leconte@#antispam#mobydoc.fr>
Newsgroups: fr.comp.text.xml
Subject: Re: Traiter les n premiers fils d'un noeud en xsl
Date: Thu, 5 Jul 2001 17:58:03 +0200
Organization: Guest of France Telecom Oleane's newsreading service
Lines: 16
Message-ID: <9i22qj$i7p$1@s1.read.news.oleane.net>
References: <9i1uv2$gap$1@s1.read.news.oleane.net>
NNTP-Posting-Host: 194.206.158.56
X-Trace: s1.read.news.oleane.net 994348693 18681 194.206.158.56 (5 Jul 2001 15:58:13 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Thu, 5 Jul 2001 15:58:13 +0000 (UTC)
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