- or download this
<?xml version="1.0"?>
<urls>
...
<url id="2" link="http://localhost/index.php?page=news&id_news=1
+7" name="2-nd test name with 2 as id" />
<url id="4" link="http://localhost/index.php?page=news&id_news=5
+" name="another cool link" />
</urls>
- or download this
<?xml version="1.0"?>
<urls>
...
<url id="4" link="http://localhost/index.php?page=news&id_news=5
+" name="another cool link" />
<url id="5" link="http://localhost/index.php?page=news&id_news=2
+3" name="another cool link added later on" />
</urls>
- or download this
#!/usr/bin/perl -w
use XML::DOM;
...
print $last_id;
print "\n";
print "total no. of records::" . $entries . "\n";