<?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" />
<script type="text/javascript">
//<![CDATA[
    function showABET(){
                window.open("abet.html",null,"height=400,width=400,status=no,toolbar=no,menubar=no,location=no")
     }
    function showPUL(){
                window.open("http://clas.iupui.edu/undergraduatelearning.html")
     }
//]]>
</script>
</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" />
                </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>
     What you will learn
     </a>
	</h1>
</div>
<!--End Left Menu -->

<!-- Start real body of page -->
<div id="contentbody">
	<h1><xsl:value-of select="/Course/Description/@Display" /></h1>
		<h2><xsl:value-of select="/Course/Description" /></h2>
                  
	<h1><xsl:value-of select="/Course/Textbooks/@Display" /></h1>
		<xsl:for-each select="/Course/Textbooks/textbook">
			<h2><xsl:value-of select="."/></h2>
		</xsl:for-each>

	<h1>Course Outcomes</h1>
	<ul>
		<xsl:for-each select="/Course/Objectives/Objective">
			<li class="listItem">
				<xsl:value-of select="Outcome" /> 
				(CIT 
				<xsl:for-each select="CIT">
					<xsl:value-of select="."/>
					<xsl:if test="not (position()= last())">, </xsl:if>
                </xsl:for-each>)
			</li>
		</xsl:for-each>
	</ul>
 
 	<h1>CIT Student Outcomes (<a class="PopUp" href="javascript:showABET();">What are these?</a>)</h1>
		<xsl:for-each select="/Course/CITOutcome/CIT">
           	<xsl:sort select="@idref" data-type="number" order="ascending"/>
			<p class="contentItem">
            <xsl:value-of select="@idref"/>
            	<xsl:if test="string-length(@idref)=1"><xsl:text>.&#160;&#160;</xsl:text></xsl:if>
                <xsl:if test="string-length(@idref)>1"><xsl:text>.&#160;</xsl:text> </xsl:if>
			<xsl:copy>
				<xsl:copy-of select="document('citTAC.xml')/CITOutcome/CIT[@id=current()/@idref]"/>
			</xsl:copy>
			</p>
		</xsl:for-each>   
        
	<h1>Principles of Undergraduate Learning (<a class="PopUp" href="javascript:showPUL();">What are Principles of Undergraduate Learning?</a>)</h1>
		<xsl:for-each select="/Course/PULS/PUL">
        	<xsl:sort select="@idref" data-type="text" order="ascending"/>
			<p class="contentItem">
            <xsl:value-of select="translate(@idref, 'ABCDEFGHIJKLMN', 'abcdefghijklmn')"/>
            <xsl:text>.&#160;&#160;</xsl:text>
			<xsl:copy>
				<xsl:copy-of select="document('pul.xml')/PULS/PUL[@id=current()/@idref]"/>
			</xsl:copy>
			</p>
		</xsl:for-each>    

	<h1><xsl:value-of select="/Course/Topics/@Display" /></h1>
	<ul>
		<xsl:for-each select="/Course/Topics/Topic">
            <li class="listItem"><xsl:value-of select="." /></li>
        </xsl:for-each>
  	</ul>  

	<h1><xsl:value-of select="/Course/Assessment/@Display" /></h1>
	<ul>
	    <xsl:if test="string-length(/Course/Assessment/notes)>0">
			<h2><xsl:value-of select="/Course/Assessment/notes" /></h2>
         </xsl:if>
         <xsl:for-each select="/Course/Assessment/component/item">
            <li class="listItem"><xsl:value-of select="." /></li>
        </xsl:for-each>
  	</ul>  
 
</div>
<!-- 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>


