[an error occurred while processing this directive]
<html>

<head>
<title>Children example</title>
<link rel=StyleSheet href="info344.css" type="text/css">
<xml id="source" src="children.xml"></xml>
<xml id="Sunday" src="Sunday.xsl"></xml>
<xml id="Monday" src="Monday.xsl"></xml>
<xml id="Tuesday" src="Tuesday.xsl"></xml>
<xml id="Wednesday" src="Wednesday.xsl"></xml>
<xml id="Thursday" src="Thursday.xsl"></xml>
<xml id="Friday" src="Friday.xsl"></xml>
<xml id="Saturday" src="Saturday.xsl"></xml>

<script language = "JavaScript" for="window" event="onload">
	showMonday.innerHTML = source.transformNode(Monday.XMLDocument);
	showTuesday.innerHTML = source.transformNode(Tuesday.XMLDocument);
	showWednesday.innerHTML = source.transformNode(Wednesday.XMLDocument);
	showThursday.innerHTML = source.transformNode(Thursday.XMLDocument);
	showFriday.innerHTML = source.transformNode(Friday.XMLDocument);
	showSaturday.innerHTML = source.transformNode(Saturday.XMLDocument);
	showSunday.innerHTML = source.transformNode(Sunday.XMLDocument);

	todaynow = new Date();
	theDay = todaynow.getDay();

	if (theDay == 0) {
	  showSunday.style.display="block";
	}

	if (theDay == 1) {
	  showMonday.style.display="block";
	}

	if (theDay == 2) {
	  showTuesday.style.display="block";
	}

	if (theDay == 3) {
	  showWednesday.style.display="block";
	}

	if (theDay == 4) {
	  showThursday.style.display="block";
	}

	if (theDay == 5) {
	  showFriday.style.display="block";
	}

	if (theDay == 6) {
	  showSaturday.style.display="block";
	}
	
</script>

</head>
<body>

<p>
The current time is
<script language = "JavaScript">

	today = new Date();
	document.write(today.toLocaleString());

</script>.
<br>
<div id="showSunday" style="display:none"></div>
<div id="showMonday" style="display:none"></div>
<div id="showTuesday" style="display:none"></div>
<div id="showWednesday" style="display:none"></div>
<div id="showThursday" style="display:none"></div>
<div id="showFriday" style="display:none"></div>
<div id="showSaturday" style="display:none"></div>

<p>The grade report and source code are available <a href="children-grade.html">here</a>.</p>
</body>
</html>