extraire les informations d'un fichier XML
bonjour;
j'ai un fihcier XML d'une edition des livres, ce fichier contient le nom du livre,l'auteur,url du livre,url d'mage du livre, la date,...
voila un exemple
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet title="XSL_formatting" type="text/xsl" href="/WileyCDA/feed/RSS_WILEY2_ALLNEWTITLES.xsl"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
<channel>
<title>Wiley: All New Titles</title>
<link>http://eu.wiley.com</link>
<description>New titles on Wiley.com</description>
<copyright>Copyright &copy; 2000-2008 by John Wiley &amp; Sons, Inc. or related companies. All rights reserved.</copyright>
<pubDate>Tue, 19 Feb 2008 05:19:50 GMT</pubDate>
<dc:date>2008-02-19T05:19:50Z</dc:date>
<dc:rights>Copyright &copy; 2000-2008 by John Wiley &amp; Sons, Inc. or related companies. All rights reserved.</dc:rights>
<image>
<title>Wiley: All New Titles</title>
<url>http://media.wiley.com/assets/1144/11/wiley-logo-sm.gif</url>
<link>http://eu.wiley.com</link>
</image>
<item>
<title>Differential Equations with Mathematica, 3rd Edition</title>
<link>http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0471773166.html?cid=RSS_WILEY2_ALLNEWTITLES</link>
<description><img src="http://media.wiley.com/spa_assets/spa_images/rsstrack.gif?Section=RSS_WILEY2_ALLNEWTITLES&PageType=RSS&SiteCd=WILEYEUROPE2" width="1" height="1" border="0" align="top"> <br> <a href="http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0471773166.html?cid=RSS_WILEY2_ALLNEWTITLES">Read More...</a> <br></description>
<pubDate>Mon, 18 Feb 2008 05:00:00 GMT</pubDate>
<guid>http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0471773166.html?cid=RSS_WILEY2_ALLNEWTITLES</guid>
<dc:creator>Brian R. Hunt, Ronald L. Lipsman, John E. Osborn, Jonathan M. Rosenberg</dc:creator>
<dc:date>2008-02-18T05:00:00Z</dc:date>
</item> |
comment je recupere ces informations?
merci.