Merci ça marche
MAGNA Pascal
CNETI/DECI
Tel : 01.58.40.23.11
EMail : Pascal.Magna@cneti.caisse-epargne.fr
-----Message d'origine-----
De : xml-tech-bounce@xmlfr.org [mailto:xml-tech-bounce@xmlfr.org] De la part de Eric van der Vlist
Envoyé : lundi 10 avril 2006 16:28
À : xml-tech@xmlfr.org
Objet : [xml-tech] Re: RE : Re: RE : Re: RE : Re: RE : Re: pbm: xsl:variable
Le lundi 10 avril 2006 à 16:22 +0200, MAGNA Pascal a écrit :
> Merci bien , cette fois ci ça marche, effectivement j'aurai pu penser
> à rajouter ce ; sinon pour la doc sur l'altruiste/coursxsl mais j'ai
> pas dù bien interpréter la doc !!!
>
> Question subsidiaire, comment fait on pour copier une balise (copy-of
> je crois) avec tous ses attributs mais sans les n½uds fils.
Il faut faire la différence entre xsl:copy-of qui fait une copie récursive (que vous ne pouvez pas contrôler) et xsl:copy qui ne copie que le noeud courant... Pour recopier le noeud courant et ses attributs, vous pouvez combiner les deux :
<xsl:copy>
<xsl:copy-of select="@*"/>
</xsl:copy>
Cordialement,
Eric van der Vlist
--
GPG-PGP: 2A528005
Carnet web :
http://eric.van-der-vlist.com/blog?t=category&a=Fran%C3%A7ais
------------------------------------------------------------------------
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)
iD8DBQBEOmtoDvn+ZCpSgAURAi7IAJ0doyoN+Mui0RQP7DQpgwoFspNEFQCeMdWL
Iqb5ZlZF3Z9qkx/wPnb3nOE=
=aLky
-----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 Apr 10 16:36:13 2006