root/ext/dom/examples/shipping.php

/* [<][>][^][v][top][bottom][index][help] */
<?php

$dom = new domDocument;
$dom->load('shipping.xml');
if (!$dom->schemaValidate('shipping.xsd')) {
  print "Document is not valid";
} else {
  print "Document is valid";
}


/* [<][>][^][v][top][bottom][index][help] */