Does someone know how to read a xml file and then put the information into a database (eg. mySQL).
eg:
<?xml version="1.0"?>
<backslash xmlns:backslash="blaat.dtd">
<story>
<title>Blaat</title>
<url>http://www.blaat.com</url>
<time>12:00</time>
<author>mr Blaat</author>
<topic>new blaat</topic>
<article>bla, bla, bla</article>
</story>
</backslash>
$title = ....
$time = ....
$autor = ....
$topic = ....
article = ....
eg:
<?xml version="1.0"?>
<backslash xmlns:backslash="blaat.dtd">
<story>
<title>Blaat</title>
<url>http://www.blaat.com</url>
<time>12:00</time>
<author>mr Blaat</author>
<topic>new blaat</topic>
<article>bla, bla, bla</article>
</story>
</backslash>
$title = ....
$time = ....
$autor = ....
$topic = ....
article = ....