xpath("//item/id[contains(text(), '$url')]/parent::*");
$products = $xml->xpath("//item/id[contains(text(), '$theurl')]/parent::node()");
if($products[0]->www=='true'){
echo "
".$products[0]->title."
"; echo "\n"; echo "Datum: ". $products[0]->pubDate ."
"; echo " ".$products[0]->description."
";
echo " Odkaz: ". $products[0]->odkaz ."
";
echo "".$products[0]->osoba."";
echo "
".$products[0]->pracoviste."