<xsl:stylesheet 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	version="1.0" 
	xmlns:ead="urn:isbn:1-931666-22-9" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xlink="http://www.w3.org/1999/xlink" 
	xsi:schemaLocation="urn:isbn:1-931666-22-9 http://www.loc.gov/ead/ead.xsd" 
	exclude-result-prefixes="xlink">
<xsl:output
	method="html"
	omit-xml-declaration="yes"
	doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
	doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
	indent="yes"/>
<xsl:template match="/">

<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><xsl:apply-templates select="//ead:titleproper"/></title>
<link href="http://www.archives.utah.gov/common/css/archivesMaster.css" rel="stylesheet" type="text/css" />
<link href="http://www.archives.utah.gov/common/css/archivesWideAndNav.css" rel="stylesheet" type="text/css" />
<link href="http://www.archives.utah.gov/common/css/archivesText.css" rel="stylesheet" type="text/css" />
<link href="http://www.archives.utah.gov/common/css/archivesPrint.css" rel="stylesheet" type="text/css" media="print" />
<script type="text/javascript" src="http://www.archives.utah.gov/common/script/swfobject.js"></script>
<script type="text/javascript" src="http://www.archives.utah.gov/common/script/archivesIncludes.js"></script>
<script type="text/javascript">ieStyle();</script>
<link href="http://www.archives.utah.gov/common/css/archivesMaster.css" rel="stylesheet" type="text/css" />
<link href="http://www.archives.utah.gov/common/css/archivesWideAndNav.css" rel="stylesheet" type="text/css" />
<link href="http://www.archives.utah.gov/common/css/archivesText.css" rel="stylesheet" type="text/css" />
<link href="http://www.archives.utah.gov/common/css/archivesPrint.css" rel="stylesheet" type="text/css" media="print" />
<script type="text/javascript" src="http://www.archives.utah.gov/common/script/swfobject.js"></script>
<script type="text/javascript" src="http://www.archives.utah.gov/common/script/archivesIncludes.js"></script>
<script type="text/javascript">ieStyle();</script>
</head>

<body>
<div id="skipToContent"><a href="#contentSkip">Skip to Content</a></div>
<div id="wrapper">
<div id="uiiBanner"><a href="http://utah.gov"><img src="http://www.archives.utah.gov/common/images/uii/uiiLeft.gif" alt="Utah.gov" title="Utah.gov" /></a></div>
<div id="branding"><a href="http://www.archives.utah.gov"><img src="http://www.archives.utah.gov/common/images/banners/bannerDefault.jpg" alt="Archives Banner" /></a></div>
<div id="mainNav">
<script type="text/javascript">buildTextMenu(mainNavArray, 'no', 'no', 'divider402201');</script></div>
<div id="content"><a name="contentSkip" id="contentSkip"></a>
<div id="mainContent">
				
<xsl:apply-templates/>

</div><div id="pagedate"><p>This page was last updated October 14, 2008.</p></div><div class="clear"></div></div> <!--content ends here --><div id="secondaryNav"><script type="text/javascript">buildTextMenu(recordsmanagementNavArray, 'no', 'yes', 'none');</script></div><div class="clear"></div></div><div id="theAddress"><script type="text/javascript">buildAddress();</script></div><div id="footer"><script type="text/javascript">buildFooter();</script></div><div id="uiiStage"><script type="text/javascript" src="http://www.utah.gov/nav/fluidheader.js"></script></div><script type="text/javascript">checkUIIblock();</script><script type="text/javascript">loadUII(true);</script></body>
</html>
</xsl:template>

<xsl:template match="ead:archdesc">
<xsl:apply-templates select="ead:did/ead:unitid"/>
<p><H1><xsl:apply-templates select="ead:did/ead:unittitle"/></H1></p>
<xsl:apply-templates select="ead:did/ead:unitdate"/>
<xsl:apply-templates select="ead:did/ead:physdesc"/>
<xsl:apply-templates select="ead:did/ead:physloc"/>
<xsl:apply-templates select="ead:phystech"/>
<xsl:apply-templates select="ead:bioghist"/>
<h2>Abstract</h2>
<xsl:apply-templates select="ead:did/ead:abstract"/>
<h2>Scope and Content</h2>
<xsl:apply-templates select="ead:scopecontent"/>
<xsl:apply-templates select="ead:odd[@type='gaps']"/>
<h2>Arrangement</h2> 
<xsl:apply-templates select="ead:arrangement"/>
<xsl:apply-templates select="ead:odd[@type='researchnote']"/> 
<xsl:apply-templates select="ead:relatedmaterial"/>
<xsl:apply-templates select="ead:accessrestrict"/>
<xsl:apply-templates select="ead:userestrict"/>
<xsl:apply-templates select="ead:prefercite"/>
<xsl:apply-templates select="ead:custodhist"/>
<xsl:apply-templates select="ead:acqinfo"/>
<xsl:apply-templates select="ead:processinfo"/>
<xsl:apply-templates select="ead:otherfindaid"/>
<xsl:apply-templates select="ead:controlaccess"/>
<xsl:apply-templates select="ead:dsc[1]"/>
<xsl:apply-templates select="ead:dsc[2]"/>
<xsl:apply-templates select="ead:dsc[3]"/>
<xsl:apply-templates select="ead:dsc[4]"/>
<xsl:apply-templates select="ead:dsc[5]"/>
<xsl:apply-templates select="ead:dsc[6]"/>
<xsl:apply-templates select="ead:head"/>
<xsl:apply-templates select="ead:table"/>
</xsl:template>

<xsl:template match="ead:unitid">
<H1><xsl:value-of select="."/></H1>
</xsl:template>

<xsl:template match="ead:archdesc/ead:did/ead:unititle">
<xsl:value-of select="."/>
</xsl:template>

<xsl:template match="ead:archdesc/ead:did/ead:unitdate">
<p>Dates: <xsl:value-of select="."/></p>
</xsl:template>

<xsl:template match="ead:corpname">
<p><font size="+2"><xsl:value-of select="."/></font></p>
</xsl:template>

<xsl:template match="ead:physdesc">
<p><xsl:value-of select="."/></p>
</xsl:template>

<xsl:template match="ead:abstract">
<p><xsl:value-of select="."/></p>
</xsl:template>

<xsl:template match="ead:titleproper">
<xsl:value-of select="."/>
</xsl:template>

<xsl:template match="ead:titleproper[@type='filing']">
</xsl:template>

<xsl:template match="ead:physloc">
<p><xsl:value-of select="."/></p>
</xsl:template>

<xsl:template match="ead:langmaterial">
<p>Language of the records: <xsl:value-of select="."/></p><br />
</xsl:template>

<xsl:template match="ead:eadheader">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:eadid">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:filedesc">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:titlestmt">
<xsl:apply-templates select="ead:titleproper"/>
</xsl:template>

<xsl:template match="ead:p">
<p><xsl:apply-templates/></p>
</xsl:template>

<xsl:template match="ead:otherfindaid">
<h2>Finding Aids</h2>
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:accessrestrict">
<h2>Access Restrictions</h2>
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:prefercite">
<h2>Preferred Citation</h2>
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:custodhist">
<h2>Custody History</h2>
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:acqinfo">
<h2>Acquisition Information</h2>
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:userestrict">
<h2>Copyright Restrictions</h2>
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:processinfo">
<h2>Processing Note</h2>
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:controlaccess">
<h2>Indexing Terms</h2>
<ul>
<xsl:for-each select="ead:controlaccess/ead:subject[@source='lcnaf']">
	<li><xsl:apply-templates/></li>
</xsl:for-each>
<xsl:for-each select="ead:controlaccess/ead:subject[@source='lcsh']">
	<li><xsl:apply-templates/></li>
</xsl:for-each>
<xsl:for-each select="ead:controlaccess/ead:subject[@source='aat']">
	<li><xsl:apply-templates/></li>
</xsl:for-each>
<xsl:for-each select="ead:controlaccess/ead:subject[@source='UMAbroad']">
				<li>
					<xsl:apply-templates/> (Browsing--Broad)</li>
			</xsl:for-each>
			<xsl:for-each select="ead:controlaccess/ead:subject[@source='UMAnarrow']">
				<li>
					<xsl:apply-templates/> (Browsing--Narrow)</li>
			</xsl:for-each>
</ul>
</xsl:template>

<xsl:template match="ead:subject[@altrender='nodisplay']">
</xsl:template>

<xsl:template match="ead:relatedmaterial">
<h2>Related Records</h2>
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:bioghist">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:phystech">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:note/ead:p/ead:num">
<xsl:value-of select="."/>
</xsl:template>

<xsl:template match="ead:head">
<h2><xsl:value-of select="."/></h2>
</xsl:template>


<xsl:template match="ead:dsc[1]">
<h2>Container List</h2>
<table>
<xsl:apply-templates select="ead:thead"/>
<xsl:apply-templates select="ead:c01"/>
</table>
</xsl:template>

<xsl:template match="ead:dsc">
<table>
<xsl:apply-templates select="ead:thead"/>
<xsl:apply-templates select="ead:c01"/>
</table>
</xsl:template>

<xsl:template match="ead:c01">
<xsl:apply-templates select="ead:c02"/>
</xsl:template>

<xsl:template match="ead:thead">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:row">
<tr><xsl:apply-templates/></tr>
</xsl:template>

<xsl:template match="ead:entry">
<td><b><xsl:value-of select="."/></b></td>
</xsl:template>

<xsl:template match="ead:c02">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ead:container">
<td valign="top" width="100"><xsl:value-of select="."/></td>
</xsl:template>

<xsl:template match="ead:dsc//ead:unittitle">
<td valign="top" width="300"><xsl:apply-templates/></td>
</xsl:template>

<xsl:template match="ead:dsc/ead:c01/ead:c02/ead:did/ead:materialspec">
<td valign="top" width="250"><xsl:apply-templates/></td>
</xsl:template>

<xsl:template match="ead:dsc/ead:c01/ead:c02/ead:did/ead:materialspec/ead:materialspec">
<b><xsl:value-of select="@label"/></b> <xsl:apply-templates/><br />
</xsl:template>

<xsl:template match="//ead:c01/ead:c02/ead:did">
<tr><xsl:apply-templates/></tr>
</xsl:template>

<xsl:template match="ead:dsc/ead:c01/ead:c02/ead:did/ead:unitdate">
<td valign="top" width="150"><xsl:value-of select="."/></td>
</xsl:template>

<xsl:template match="ead:dsc/ead:c01/ead:c02/ead:did/ead:unittitle/ead:unittitle">
<xsl:value-of select="."/>
</xsl:template>

<xsl:template match="ead:dsc/ead:p/ead:note">
<tr><td valign="top" colspan="4"><xsl:value-of select="."/></td></tr>
</xsl:template>

<xsl:template match="ead:eadheader">
<xsl:comment><xsl:value-of select="."/></xsl:comment>
</xsl:template>

<xsl:template match="ead:repository">
</xsl:template>

<xsl:template match="ead:extref[@xlink:href]">
<a href="{@xlink:href}"><xsl:value-of select="."/></a>
</xsl:template>

<xsl:template match="ead:*[@render='bold']">
<b>
<xsl:value-of select="."/>
</b>
</xsl:template>

<xsl:template match="ead:*[@render='italic']">
<i>
<xsl:value-of select="."/>
</i>
</xsl:template>

<xsl:template match="ead:*[@render='underline']">
<u>
<xsl:value-of select="."/>
</u>
</xsl:template>

<xsl:template match="ead:*[@render='sub']">
<sub>
<xsl:value-of select="."/>
</sub>
</xsl:template> 

<xsl:template match="ead:*[@render='super']">
<super>
<xsl:value-of select="."/>
</super>
</xsl:template>

<xsl:template match="ead:*[@render='quoted']">
<xsl:text>"</xsl:text>
<xsl:value-of select="."/>
<xsl:text>"</xsl:text>
</xsl:template>

<xsl:template match="ead:*[@render='boldquoted']">
<b><xsl:text>"</xsl:text>
<xsl:value-of select="."/>
<xsl:text>"</xsl:text></b>
</xsl:template>

<xsl:template match="ead:*[@render='boldunderline']">
<b><u>
<xsl:value-of select="."/>
</u></b>
</xsl:template>

<xsl:template match="ead:*[@render='bolditalic']">
<b><i>
<xsl:value-of select="."/>
</i></b>
</xsl:template>

<xsl:template match="ead:*[@render='boldsmcaps']">
<font style="font-variant: small-caps"><b>
<xsl:value-of select="."/>
</b></font>
</xsl:template>

<xsl:template match="ead:*[@render='smcaps']">
<font style="font-variant: small-caps">
<xsl:value-of select="."/>
</font>
</xsl:template>


</xsl:stylesheet>


