Bonjour ! j'ai un problème au niveau de XML en se qui concerne les liens et comment les exploités en HTML, voici le code XML:
Et voici le code HTML :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 <?xml version="1.0" encoding="utf-8" ?> <document> <enfant> <nom>Google</nom> <lien genre="html" text="Allboard Network">http://www.google.fr</lien> <date>07/11/83</date> </enfant> <enfant> <nom>Yahoo</nom> <lien genre="html" text="Allboard Network">http://www.yahoo.fr</lien> <date>07/11/83</date> </enfant> </document>
Dans l'attend de votre aide je vous remercie !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 </head> <body> Voici du Html... <xml id="fichierxml" src="simple.xml"></xml> <table datasrc="#fichierxml"> <tr> <td><span datafld="nom"></span></td> <td><span datafld="lien"></span></td> </tr> </table> Et voici encore du Html ! </body> </html>
Partager