<?  //		-*- C++ -*-
include("config.php");

$fd = fopen ("test.xml", "r");
$xml = fread ($fd, filesize ("test.xml"));
fclose($fd);

$fd = fopen ("config.mm", "r");
$confmm = fread ($fd, filesize ("config.mm"));
fclose($fd);
$fd = fopen ("parameters.mm", "r");
$parammm = fread ($fd, filesize ("parameters.mm"));
fclose($fd);
$fd = fopen ("variable.mm", "r");
$varmm = fread ($fd, filesize ("variable.mm"));
fclose($fd);
$fd = fopen ("parser.mm", "r");
$parsermm = fread ($fd, filesize ("parser.mm"));
fclose($fd);

$fd = fopen ("config.hh", "r");
$confhh = fread ($fd, filesize ("config.hh"));
fclose($fd);
$fd = fopen ("parameters.hh", "r");
$paramhh = fread ($fd, filesize ("parameters.hh"));
fclose($fd);
$fd = fopen ("variable.hh", "r");
$varhh = fread ($fd, filesize ("variable.hh"));
fclose($fd);
$fd = fopen ("parser.hh", "r");
$parserhh = fread ($fd, filesize ("parser.hh"));
fclose($fd);

$text = "<H1>" . NAME . " Full Example</H1><BR/>
<a href=\"#XML\">XML Sample File</a><br/>
<a href=\"#source\">Source Files</a><br/>
<a href=\"#gen\">Generated Files</a><br/>
<h2><a name=\"XML\">XML Sample File</a></h2><br/>
<PRE>$xml</PRE>
<h2><a name=\"source\">Source Files</a></h2>
First the Data type definition, and the last is
the parser information.
<a name=cmm><h3>config.mm</h3></a>
<PRE>$confmm</PRE>
<a name=pmm><h3>parameters.mm</h3></a>
<PRE>$parammm</PRE>
<a name=vmm><h3>variable.mm</h3></a>
<PRE>$varmm</PRE>
<a name=parser><h3>parser.mm</h3></a>
<PRE>$parsermm</PRE>
<h2><a name=\"gen\">Generated Files</a></h2>
<a name=chh><h3>config.hh</h3></a>
<PRE>$confhh</PRE>
<a name=phh><h3>parameters.hh</h3></a>
<PRE>$paramhh</PRE>
<a name=vhh><h3>variable.hh</h3></a>
<PRE>$varhh</PRE>
<a name=parhh><h3>parser.hh</h3></a>
<PRE>$parserhh</PRE>
";

include("template.php");
?>
