|
Fatal error: Cannot instantiate non-existent class: xml_check in D:\Program Files\Apache Group\Apache2\htdocs\zend\index.php on line 8
<html>
<head>
<title></title>
</head>
<body>
<?php
$myxml=file("xml.xml");
$check = new XML_check();
if($check->check_string($myxml)) {
print("XML is well-formed");
print("Elements : ".$check->get_xml_elements());
print("Attributes : ".$check->get_xml_attributes());
print("Size : ".$check->get_xml_size());
print("Text sections : ".$check->get_xml_text_sections());
print("Text size : ".$check->get_xml_text_size());
} else {
print("XML is not well-formed");
print($check->get_full_error());
}
?>
You can use check url instead
</body>
</html> |
|