<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp   "&#160;">
<!ENTITY copy   "&#169;">
]> 
<!-- 
Implementations Skeleton - 05/12/2016

INTERIOR PAGE 
A simple page type.

Contributors: Your Name Here
Last Updated: Enter Date Here
-->
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ou="http://omniupdate.com/XSL/Variables"
				xmlns:fn="http://omniupdate.com/XSL/Functions" xmlns:ouc="http://omniupdate.com/XSL/Variables" xmlns:svg="http://www.w3.org/2000/svg" exclude-result-prefixes="ou xsl xs fn ouc svg">

	<xsl:import href="common.xsl"/>

	<xsl:template name="template-footcode"/>
	<xsl:template name="common-footer"/>
	<xsl:template name="page-content"/>

	<xsl:output method="html" version="4.0" indent="yes" encoding="UTF-8" include-content-type="no" omit-xml-declaration="yes"/>
	<xsl:mode name="copy" on-no-match="shallow-copy" />
	
	<xsl:template match="/document[not($ou:action = 'pub')]">
		<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;</xsl:text>
		<html>
			<head>
				<title>Global Header PCF to Include</title>
				<xsl:if test="$ou:action != 'edt'">
					<xsl:call-template name="common-headcode"/>
				</xsl:if>
			</head>
			<body>
				<xsl:if test="$ou:action = 'edt'">
					<div style="">
						<p style="margin-bottom: 0px; font-size: 15px;">Content outside the tables will be stripped out after editing, please only edit inside of the table</p>
						<p style="font-size: 15px;">Please navigate to preview mode to see how the header will appear on all pages.</p>
					</div>
				</xsl:if>
				<xsl:call-template name="content"/>

				<div id="wrapper" class="{div/@class}"></div>

				<xsl:if test="$ou:action != 'edt'">
					<xsl:copy-of select="ou:include-file('/_resources/includes/projectgraduate-footcode.inc')"/>
				</xsl:if>
			</body>
		</html>
	</xsl:template>

	<xsl:template match="/document[($ou:action = 'pub')]">
		<xsl:call-template name="content"/>
	</xsl:template>

	<!-- Footer template -->
	<xsl:template name="content">

			<div id="head">
				<xsl:copy-of select="ou:include-file('/_resources/includes/projectgraduate-logo.inc')"/>
				<xsl:if test="$ou:action = 'edt'">
					<div style="clear: both"/>
				</xsl:if>

		</div>


	</xsl:template>


</xsl:stylesheet>
