<?xml version="1.0"  standalone="no" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg" 
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<head>
<script type="text/javascript"
         src="prototype.js">
	  </script>
</head>
<body>
<script>
   var e = new PeriodicalExecuter(aggiornatempo,10);
   function aggiornatempo()
         {
   new Ajax.Request('clockxml.php',
         {
	 onSuccess: function(transport) {
     var ore = transport.responseXML.getElementsByTagName('ore');
     var minuti = transport.responseXML.getElementsByTagName('minuti');
     var secondi = transport.responseXML.getElementsByTagName('secondi');
     $('ora').childNodes[0].nodeValue= ore[0].childNodes[0].nodeValue+" "+minuti[0].childNodes[0].nodeValue+" "+ secondi[0].childNodes[0].nodeValue;
            }
            });
    	        }

	    </script>
<svg:svg xmlns="http://www.w3.org/2000/svg" width="320" height="240" >
<svg:g>
	<svg:rect width="120" height="40" style="fill:cyan" />
		<svg:text x="10" y="20" id="ora" >ORA</svg:text>
		</svg:g>
		</svg:svg>
		</body></html>
