Article View: fr.comp.text.xml
Article #9712XSL : inclusion
From: NW
Date: Fri, 02 Mar 2001 11:15
Date: Fri, 02 Mar 2001 11:15
42 lines
1935 bytes
1935 bytes
Bonjour,
Peut on inclure � travers des liens le contenu des fichiers r�f�renc�s, le
tout pass� � travers XSL.
Exemple :
famille.xml :
...
<famille>
<adresse>17 rue de la bo�tie, paris<adresse>
<membre href='jdupont.xml'>
<membre href='ldupont.xml'>
<membre href='vdupont.xml'>
</famille>
...
Et par exemple un des membre de cette famille:
jdupont.xml :
....
<personne>
<nom>Dupont</nom>
<prenom>Jean</prenom>
<age>34</age>
</personne>
...
On veut comme r�sultat, quelque chose de la forme :
<html>
<h1>17 rue de la bo�tie, paris</h1>
<table>
<tr><th>Nom</th><th>Pr�nom</th><th>Age</th></tr>
<tr><th>Dupont</th><th>Jean</th><th>34</th></tr>
<tr><th>Dupont</th><th>Lucie</th><th>32</th></tr>
<tr><th>Dupont</th><th>Victor</th><th>7</th></tr>
</table>
</html>
Merci de votre aide.
Je ne cherche pas pour l'instant du code XSL pr�t � l'emploi, mais savoir si
c'est possible.
Nicolas WILLMANN
ITEMATIC
Technical Details
Message-ID:
<97nv2q$u16$1@s1.read.news.oleane.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!oleane.net!oleane!nnrp.oleane.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,43ab791072632407,start X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-03-02 03:16:05 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "NW" <nospam_itematic@itematic.com> Newsgroups: fr.comp.text.xml Subject: XSL : inclusion Date: Fri, 2 Mar 2001 12:15:05 +0100 Organization: Guest of France Telecom Oleane's newsreading service Lines: 45 Message-ID: <97nv2q$u16$1@s1.read.news.oleane.net> NNTP-Posting-Host: dyn-1-1-191.vin.dialup.oleane.fr X-Trace: s1.read.news.oleane.net 983531418 30758 195.25.4.191 (2 Mar 2001 11:10:18 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 2 Mar 2001 11:10:18 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600