return; } if (!file_exists($fileTwo)) { echo "The second specified file doesn't exist<br/>"; echo "<a href = 'home.php'>Run the Tool Again</a><br />"; return; } //echo "<style>"; //include "stylenew.css"; //echo "</style>"; include "xmlLoader.php"; $xmlLoader = new XMLLoader($fileOne); $doc = new DOMDocument(); $doc->load($fileTwo); $results; $xmlLoader->compareXML($doc, $results); $previousCategory = ""; echo "<link rel=\"stylesheet\" href=\"style.css\" media=\"screen\" type=\"text/css\" />"; foreach ($results as $result) { if (strcmp($previousCategory, $result->category) != 0) { if (strcmp($previousCategory, "") != 0) { echo "</table>"; echo "<br/>"; } echo "<table summary=\"Result Table - {$result->category}\" class=\"main\" cellspacing=\"0\">"; echo "<tr>"; echo "<td colspan=\"3\" class=\"header\">Category: {$result->category}</td>"; echo "</tr>"; echo "<tr>"; echo "<td class=\"header\">Function</td>"; echo "<td class=\"header\">Description</td>";