<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" method="html"/>
  <xsl:template match="Course">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>IUPUI - CIT <xsl:value-of select="Number" /></title>
<link rel="stylesheet" type="text/css" href="CITCourse2009.css" />
</head>
<body>
<div id="maintable"> 
<!-- Start HEADER -->
	<div id="header">
		<div id="logo">
			<div id="title">
				<div id='title-text'>CIT <xsl:value-of select="Number" /><br/>
                	<xsl:value-of select="Name" /><br/>
					Course Instructional Objectives
                </div>
			</div>
		</div>
		<hr />
	</div>
<!-- End HEADER -->

<!-- Start LEFT MENU -->
<div id="leftmenu">
	<h1><xsl:value-of select="/Course/Prereqs/@Display" /></h1>
		<h2>
		 <xsl:for-each select="/Course/Prereqs/PrereqGroup">
			<xsl:for-each select="Prereq">
				<xsl:if test="string-length(@Link)>0">
					<a>
					<xsl:attribute name="href">
						<xsl:value-of select="@Link" />
					</xsl:attribute>
					<xsl:value-of select="." />
					</a>
				</xsl:if>
				<xsl:if test="not(string-length(@Link)>0)">
					<xsl:value-of select="." />
				</xsl:if>	
				<xsl:if test="position()!=last()">
					or
				</xsl:if>
			</xsl:for-each>
			<br/>
        </xsl:for-each>
        </h2>
	<br/>
	<h1><xsl:value-of select="/Course/Offered/@Display" /></h1>
		<h2><xsl:value-of select="/Course/Offered" /></h2>
		<br />
	<h1><xsl:value-of select="/Course/Software/@Display" /></h1>
    	<xsl:for-each select="/Course/Software/Package">
			<h2><xsl:if test="string-length(@Link)>0">
				<a><xsl:attribute name="href">
					<xsl:value-of select="@Link" />
					</xsl:attribute>
					<xsl:value-of select="." />
				</a><br/>
				</xsl:if>
				<xsl:if test="string-length(@Link)=0">
					<xsl:value-of select="." /><br/>
				</xsl:if></h2>
        </xsl:for-each>
		<br />
	<h1> <xsl:value-of select="/Course/CreditByExam/@Display" /></h1>
		<h2><xsl:value-of select="/Course/CreditByExam" /></h2>
		<br />
	<h1> <xsl:value-of select="/Course/Coordinator/@Display" /></h1>
		<h2>
        <a><xsl:attribute name="href">mailto:<xsl:value-of select="/Course/Coordinator/CoordinatorEmail"/>
           </xsl:attribute>
           <xsl:value-of select="/Course/Coordinator/CoordinatorName" />
        </a>
        </h2>
		<br />
	<h1>
    <a class='learn'>
    <xsl:attribute name="href">
    	<xsl:value-of select="concat(/Course/@FileName,'-cio.html')" />
     </xsl:attribute>
     Back to Course Description
     </a>
	</h1>
</div>
<!--End LEFT MENU -->

<!-- begin PAGE BODY -->
<div id="contentbody"> 
	<xsl:for-each select="/Course/CIO/Category">
     	<h1><xsl:value-of select="@Display" /></h1>
        <ul>
		<xsl:for-each select="CategoryItem">
			<li class="listItem"><xsl:value-of select="." /></li>
        </xsl:for-each>
        </ul>                        
    </xsl:for-each> 
</div>
<!-- end PAGE BODY -->
<!-- begin FOOTER -->
<div id="footer">
	<hr />
	<div id="leftfooter">
		<p>
        <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
 		<a href="http://jigsaw.w3.org/css-validator/check/referer">
    	<img style="border:0;width:88px;height:31px"
        src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
        alt="Valid CSS!" />
		</a>
		</p>
	</div>
	<div id="rightfooter">All contents copyright 2009, CIT @ IUPUI<br />
		Last Updated: <script type="text/javascript">
		//<![CDATA[
            document.write(document.lastModified);
		//]]>
	</script>
    </div>
</div>
<!-- end FOOTER -->
		</div>
      </body>	
  </xsl:template>

</xsl:stylesheet>


