<xsl:template match="liste">
<xsl:apply-templates
select="document(fichier)//ARTICLE/id[starts-with(@auteur,'M')][not(preceding::ARTICLE/id[starts-with(@auteur,'M')
)]]">
</xsl:apply-templates>
</xsl:template>
ne marche pas
> Le lundi 06 février 2006 à 15:07 +0100, greg@gregserveur.com a écrit :
>> Re-Bonjour,
>>
>> J'arrive a afficher les auteurs d'articles commencant par une lettre X :
>>
>> <xsl:apply-templates
>> select="document(fichier)//ARTICLE/id[starts-with(@auteur,'B')]">
>>
>> Je souhaiterais eviter les doublons, j'ai donc tenté d'utiliser :
>>
>> [not( preceding::document(fichier)//ARTICLE/id[starts-with(@auteur,'B')
>> )]
>>
>> Mais sans succés. une idée ?
> [not( preceding::ARTICLE/id[starts-with(@auteur,'B') )] devrait mieux
> fonctionner...
>
> Cordialement,
>
> Eric van der Vlist
>
> --
> GPG-PGP: 2A528005
> Weblog:
> http://eric.van-der-vlist.com/blog?t=category&a=English
> ------------------------------------------------------------------------
> Eric van der Vlist http://xmlfr.org http://dyomedea.com
> (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
> (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
> ------------------------------------------------------------------------
>
>
> -- Attached file included as plaintext by Ecartis --
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQBD5192Dvn+ZCpSgAURAg4QAJ0XF5gdYc+3gPY3jS0YP3QokMiAngCfXN06
> +Udc0v9ZhEB0dYtNeyQuK4o=
> =YR00
> -----END PGP SIGNATURE-----
>
>
> --
> Devenez redacteur <XML>fr et contribuez au developpement du
> xml francophone (http://xmlfr.org/infos/redacteurs/) !
>
> Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
>
> Cette liste est a votre disposition pour discuter en francais de
> tout sujet technique lie a XML.
>
> Pour resilier votre abonnement, envoyez un message contenant
> la commande "unsubscribe" a xml-tech-request@xmlfr.org
> (mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
>
>
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Received on Mon Feb 6 15:47:41 2006