<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="bg" lang="bg">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>асд</title>
</head>
<body>
<?php
$xmlDoc = new DOMDocument();
$xmlDoc->load('http://xml.webground.bg/actualno/all/');
$searchNode = $xmlDoc->getElementsByTagName("item");
foreach ($searchNode as $searchNode) {
$xmlDesc = $searchNode->getElementsByTagName("description");
$xmlTitle = $searchNode->getElementsByTagName("title");
$valueTitle = $xmlTitle->item(0)->nodeValue;
$valueDesc = $xmlDesc->item(0)->nodeValue;
echo $valueTitle . '<br />' . $valueDesc;
}
?>
</body>
<html>