🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #9412

Insertion d'attribut

#9412
From: cib
Date: Tue, 03 Apr 2001 18:37
13 lines
1521 bytes
Je veux num�roter les paragraphes de tr�s long fichiers html. Je les ai
"tidy", et transform� en xml.
Le probl�me est d'ajouter par une feuille de style, un attribut num � chaque
<p>.
Mais la fonction <xsl:attribute>, me rajoute un �l�ment <p>, au lieu
d'ins�rer mon attribut. Je commence � conna�tre par coeur la faq de dpawson
sur l'Identity et Attribute, mais je n'arrive toujours pas un r�sultat
correct.
Comment ajouter un attribut � partir d'un
<xsl:template match="p">
?
Un peu d'aide s'il vous plait.
Cib, de Bordeaux.
Technical Details
Message-ID: <9ad53p$4rh$1@wanadoo.fr>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,d43ad1d81609108b,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-04-03 11:36:02 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!not-for-mail
From: "cib" <cibci1@caramail.com>
Newsgroups: fr.comp.text.xml
Subject: Insertion d'attribut
Date: Tue, 3 Apr 2001 20:37:09 +0200
Organization: Wanadoo, l'internet avec France Telecom
Lines: 15
Message-ID: <9ad53p$4rh$1@wanadoo.fr>
NNTP-Posting-Host: ca-ol-bordeaux-7-251.abo.wanadoo.fr
X-Trace: wanadoo.fr 986322873 4977 62.161.110.251 (3 Apr 2001 18:34:33 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 3 Apr 2001 18:34:33 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400