Re: span title et récupération de données via xsl:value-of select
Eric van der Vlist <[email protected]>
| Newsgroups | gmane.text.xml.french.tech |
|---|---|
| Organization | Dyomedea (http://dyomedea.com) |
| Message-ID | <[email protected]> |
Bonsoir,
Le mardi 28 février 2006 à 21:37 +0100, Jean-François Cauche a écrit :
> Bonjour.
> Je souhaite faire apparatre des informations dans un texte grce la
> balise span et son attribut title. Ces informations sont contenues dans
> un fichier XML avec le texte. Il m'est cependant impossible d'effectuer
> dans ma feuille de style une fonction de ce type :
>
> <span title="<xsl:value-of select='@note'/>">
>
> Aprs de nombreuses tentatives, je ne sais plus trop comment faire. Je
> suppose qu'il me faudra passer par du PHP ou une fonction XML que je ne
> connais pas encore (je dbute...). Si vous avez la solution, merci d'avance.
Il suffit d'écrire :
<span title="{@note}">
cf http://xmlfr.org/documentations/faq/010103-0002
Cordialement,
Eric van der Vlist
>
--
GPG-PGP: 2A528005
Le premier annuaire des apiculteurs 100% XML!
http://apiculteurs.info/
------------------------------------------------------------------------
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)
iD8DBQBEBLQiDvn+ZCpSgAURAmDRAJ9dGsJfcKnQcoM3GZksO4lUVN9ofwCdGf4S
jhVIl2EJ7KlIru0MOpPEZkc=
=0LGp
-----END PGP SIGNATURE-----