<?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-header"/>
    <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:template match="/document[$ou:action = 'pub']">
        <xsl:call-template name="common-footer" />
    </xsl:template>
    
    <!-- Footer template -->
    <xsl:template name="common-footer">
        
       
            <section id="footer-primary-links">
                <h2 class="hidden-header">Site Links</h2>
                <xsl:apply-templates select="ouc:div[@label='primary-links']" />	
            </section>
        
            <div class="outerContainer footerRow">
                <div class="container">
                    <!-- Add Agency Links -->
                    <div class="outerContainer agencyFooterRow">
                        <div class="container">
                            <nav class="agency-footer-links" role="navigation">
                                <xsl:apply-templates select="ouc:div[@label='footer-links']" />
                            </nav>
                        </div>
                    </div>
                    <!-- End Add Agency Links -->
                    <div class="portal-FooterInsert">
                        <div class="outerContainer enterpriseFooterRow">
                            <div class="container">
                                <nav class="enterprise-footer-links" role="navigation">
                                    <xsl:apply-templates select="ouc:div[@label='footer-links2']" />
                                </nav>
                            </div>
                        </div>
                        <div class="outerContainer unbridledRow">
                            <div class="container">
                                <xsl:apply-templates select="ouc:div[@label='unbridledRow']" />
                            </div>
                        </div>
                        <div class="outerContainer copyrightRow">
                            <div class="container">
                                <xsl:copy-of select="ou:include-file('/_resources/includes/footer-copyright.inc')"/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        
    </xsl:template>
    
    <xsl:template match="ul">
        <ul class="list-unstyled list-inline">
            <xsl:apply-templates/>
        </ul>
    </xsl:template>
    
    
</xsl:stylesheet>

