On Mon, 2004-09-06 at 15:05, COLLET Herve wrote:
> Est-ce que ce genre de syntaxe ne te conviendrais pas:
>
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:output method="xml" encoding="ISO-8859-1" indent="yes"/>
> <xsl:param name="myNodeName" />
>
> <xsl:template match="/exemple/test/$mynodeName">
> Sortie : [<xsl:value-of select="." />]
> </xsl:template>
Non, c'est "encore plus interdit" dans la mesure où il y d'importantes
restrictions à l'utilisation de variables dans un attribut "match".
Cordialement,
Eric van der Vlist
--
Read me on XML.com.
http://www.xml.com/pub/au/74
Upcoming XML schema languages tutorial:
- Portland -half day- (27/07/2004) http://masl.to/?E6ED13728
------------------------------------------------------------------------
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
------------------------------------------------------------------------
--
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 Sep 6 15:51:22 2004