<?php
$DOM = new DOMDocument();
$DOM->load('inimene.xml');
$DOM->schemaValidate("inimene1.xsd");
echo $DOM->saveXML();
?>