Bonjour,
J'ai des donnés en XML (Bibliothèque Itunes), et j'aimerai les retrouver dans une page HTML sous forme de tableau. Je suppose, qu'on fait appelle au PHP.
Voici le code XML pour une donnée:
Code :
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- <plist version="1.0">
- <dict>
- <key>Major Version</key><integer>1</integer>
- <key>Minor Version</key><integer>1</integer>
- <key>Application Version</key><string>9.0.2</string>
- <key>Features</key><integer>5</integer>
- <key>Show Content Ratings</key><true/>
- <key>Music Folder</key><string>file://localhost/C:/Musiques/Itunes/</string>
- <key>Library Persistent ID</key><string>69FE38EEE7256F1E</string>
- <key>Tracks</key>
- <dict>
- <key>1170</key>
- <dict>
- <key>Track ID</key><integer>1170</integer>
- <key>Name</key><string>Acdc</string>
- <key>Artist</key><string>David Guetta</string>
- <key>Album Artist</key><string>David Guetta</string>
- <key>Composer</key><string>Carre, Jean Charles/David Guetta/Joachim Garraud/Pascal Lemaire</string>
- <key>Album</key><string>Guetta Blaster</string>
- <key>Genre</key><string>House</string>
- <key>Kind</key><string>Fichier audio MPEG</string>
- <key>Size</key><integer>5810815</integer>
- <key>Total Time</key><integer>241893</integer>
- <key>Track Number</key><integer>7</integer>
- <key>Year</key><integer>2004</integer>
- <key>Date Modified</key><date>2007-10-06T16:53:20Z</date>
- <key>Date Added</key><date>2009-10-31T23:24:37Z</date>
- <key>Bit Rate</key><integer>192</integer>
- <key>Sample Rate</key><integer>44100</integer>
- <key>Play Count</key><integer>8</integer>
- <key>Play Date</key><integer>3342781806</integer>
- <key>Play Date UTC</key><date>2009-12-04T13:30:06Z</date>
- <key>Skip Count</key><integer>2</integer>
- <key>Skip Date</key><date>2009-08-31T10:37:58Z</date>
- <key>Rating</key><integer>80</integer>
- <key>Album Rating</key><integer>80</integer>
- <key>Album Rating Computed</key><true/>
- <key>Persistent ID</key><string>890D7D98AFEC4F43</string>
- <key>Track Type</key><string>File</string>
- <key>Location</key><string>file://localhost/D:/Musiques/Itunes/David%20Guetta/Guetta%20Blaster/07%20Acdc.mp3</string>
- <key>File Folder Count</key><integer>4</integer>
- <key>Library Folder Count</key><integer>1</integer>
- </dict>
|
Pourriez-vous m'aider à generer le code?
Merci d'avance,
Cordialement.