Article View: fr.comp.text.xml
Article #8771moyenne en XSLT
From: Tanguy Crusson
Date: Wed, 25 Jul 2001 16:17
Date: Wed, 25 Jul 2001 16:17
22 lines
1588 bytes
1588 bytes
bonjour,
A partir du document XML suivant :
<bulletin eleve="tcrusson">
<matiere nom="histoire">
<note coef="4">12</note>
<appreciation>assez bien</appreciation>
</matiere>
<matiere nom="maths">
<note coef="8">1</note>
<appreciation>nul. Aucun effort</appreciation>
</matiere>
</bulletin>
j'aimerais calculer la moyenne pond�r�e en fonction de la note et du
coefficient
je vois comment faire sans les coefs round(sum(//note) div count(matiere))
mais pas avec les coefs
merci.
tanguy Crusson
Technical Details
Message-ID:
<9jmskg$b3n$1@reader1.fr.uu.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!easynet-monga!easynet.net!dispose.news.demon.net!demon!shale.ftech.net!news.ftech.net!isdnet!inetway!inetway.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,8ef9442d02efc281,start X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-07-25 09:10:38 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!easynet-monga!easynet.net!dispose.news.demon.net!demon!shale.ftech.net!news.ftech.net!isdnet!inetway!inetway.net!not-for-mail From: "Tanguy Crusson" <tanguy.crusson@improve.fr> Newsgroups: fr.comp.text.xml Subject: moyenne en XSLT Date: Wed, 25 Jul 2001 18:17:56 +0200 Organization: UUNET Lines: 24 Message-ID: <9jmskg$b3n$1@reader1.fr.uu.net> NNTP-Posting-Host: 212.208.160.130 X-Trace: reader1.fr.uu.net 996079056 11383 212.208.160.130 (25 Jul 2001 16:37:36 GMT) X-Complaints-To: abuse@fr.uu.net NNTP-Posting-Date: 25 Jul 2001 16:37:36 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200