Article View: fr.comp.text.xml
Article #10384Re: Comment faire un element avec un attribut ?
From: Rapha�l THERY
Date: Tue, 07 Nov 2000 00:00
Date: Tue, 07 Nov 2000 00:00
30 lines
1525 bytes
1525 bytes
Bonne supposition, merci beaucoup !
(je ne connaissais pas l'utilisation des Accolades)
Rapha�l
Tom <ptittom@free.fr> a �crit dans le message :
5617u8.qn4.ln@ptittom.free.fr...
> In article <jHBN5.1992$9d2.2589744@nnrp5.proxad.net>, "Rapha�l THERY"
> <raphael.thery@nordnet.fr> wrote:
>
> > Je souhaite cr�er un noeud avec la valeur d'un des attributs .... dur
> > dur je ne sais comment prendre le xsl:element
> >
> > Explication XML source :
> > <objet nom="nomObjet" .....>
> > ...
> > </objet>
> >
> > XML resultat
> > <nomObjet> .... </nomObjet>
> >
> > Ca � l'air pourtant simple !!!
>
> <xsl:template match="objet">
> <xsl:element name="{@nom}">
> <xsl:apply-templates/>
> </xsl:element>
> </xsl:template>
>
> je suppose
Technical Details
Message-ID:
<M2PN5.1745$Ch6.5520514@nnrp1.proxad.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<jHBN5.1992$9d2.2589744@nnrp5.proxad.net> <5617u8.qn4.ln@ptittom.free.fr>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,e516a45ce554018c X-Google-Attributes: gid114f60,public From: "Rapha�l THERY" <raphael.thery@nordnet.fr> Subject: Re: Comment faire un element avec un attribut ? Date: 2000/11/07 Message-ID: <M2PN5.1745$Ch6.5520514@nnrp1.proxad.net> X-Deja-AN: 690638519 References: <jHBN5.1992$9d2.2589744@nnrp5.proxad.net> <5617u8.qn4.ln@ptittom.free.fr> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@proxad.net X-Trace: nnrp1.proxad.net 973585708 195.115.154.77 (Tue, 07 Nov 2000 09:28:28 MET) Organization: Guest of ProXad - France X-MSMail-Priority: Normal NNTP-Posting-Date: Tue, 07 Nov 2000 09:28:28 MET Newsgroups: fr.comp.text.xml