<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:h="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.w3.org/1999/xhtml http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"> <xsl:template name="custom-style"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title>DOI Metadata for <xsl:call-template name="get_identifier" /></title> <!-- Bootstrap core CSS --> <link href="{$www_root}bootstrap/css/bootstrap.min.css" rel="stylesheet"/> <!-- Custom styles for this template --> <xsl:choose> <xsl:when test="$embedded = ''"> <link href="{$www_root}css/DOI-template.css" rel="stylesheet"/> </xsl:when> <xsl:otherwise> <link href="{$www_root}css/DOI-template-embed.css" rel="stylesheet"/> </xsl:otherwise> </xsl:choose> <xsl:text disable-output-escaping="yes"><![CDATA[ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> ]]></xsl:text> </head> <body> <xsl:if test="$embedded = ''"> <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar">-</span> <span class="icon-bar">-</span> <span class="icon-bar">-</span> </button> <a class="navbar-brand" href="{$www_root}index.html">OSUG DOI</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li> <a href="{$www_root}xsd/metadata.xsd">XSD Schema</a> </li> <li> <a href="{$www_root}about.html">About</a> </li> </ul> </div> </div> </nav> </xsl:if> <div class="container"> <xsl:if test="$embedded = '' or $embedded = 'full' or $embedded = 'header'"> <div class="jumbotron"> <xsl:call-template name="header" /> </div> <xsl:call-template name="data-access" /> </xsl:if> <xsl:if test="$embedded = '' or $embedded = 'full' or $embedded = 'meta'"> <div class="doi-template"> <xsl:apply-templates /> <xsl:if test="$date"> <div class="text-right small"> <xsl:value-of select="$date"/> </div> </xsl:if> </div><!-- doi-template --> </xsl:if> </div><!-- container --> <xsl:if test="$embedded = ''"> <footer class="footer"> <div class="container"> <p class="text-muted">(c) 2016 - <a href="{$www_root}index.html">OSUG DOI</a></p> </div> </footer> </xsl:if> <xsl:text disable-output-escaping="yes"><![CDATA[ <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> --> <script src="]]></xsl:text> <xsl:value-of select="$www_root"/> <xsl:text disable-output-escaping="yes"><![CDATA[js/jquery-1.12.4.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="]]></xsl:text> <xsl:value-of select="$www_root"/> <xsl:text disable-output-escaping="yes"><![CDATA[bootstrap/js/bootstrap.min.js"></script> ]]></xsl:text> </body> </html> </xsl:template> </xsl:stylesheet>