48 lines
2 KiB
XML
48 lines
2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- author="Jeff Parsons (@jeffpar)" website="http://www.pcjs.org/" created="2012-05-05" modified="2014-02-23" license="http://www.gnu.org/licenses/gpl.html" -->
|
|
<!DOCTYPE xsl:stylesheet [
|
|
<!-- XSLT understands these entities only: lt, gt, apos, quot, and amp. Other useful entities are defined below (see entities.dtd). -->
|
|
<!ENTITY nbsp " "> <!ENTITY sect "§"> <!ENTITY copy "©"> <!ENTITY para "¶"> <!ENTITY ndash "–"> <!ENTITY mdash "—">
|
|
<!ENTITY lsquo "‘"> <!ENTITY rsquo "’"> <!ENTITY ldquo "“"> <!ENTITY rdquo "”"> <!ENTITY dagger "†"> <!ENTITY Dagger "‡">
|
|
]>
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
<xsl:output doctype-system="about:legacy-compat" method="html"/>
|
|
|
|
<xsl:include href="common.xsl"/>
|
|
<xsl:include href="document.xsl"/>
|
|
<xsl:include href="../../shared/templates/components.xsl"/>
|
|
|
|
<xsl:template match="/outline">
|
|
<xsl:variable name="machineType">
|
|
<xsl:choose>
|
|
<xsl:when test="machine/@type"><xsl:value-of select="machine/@type"/></xsl:when>
|
|
<xsl:otherwise><xsl:value-of select="$MACHINETYPE"/></xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:variable>
|
|
<html lang="en">
|
|
<head>
|
|
<title><xsl:value-of select="title"/><xsl:text> | </xsl:text><xsl:value-of select="$SITEHOST"/></title>
|
|
<xsl:call-template name="commonStyles"/>
|
|
<xsl:call-template name="documentStyles"/>
|
|
<xsl:call-template name="componentStyles"/>
|
|
</head>
|
|
<body>
|
|
<div class="common">
|
|
<div class="page justified">
|
|
<xsl:apply-templates/>
|
|
</div>
|
|
</div>
|
|
<xsl:call-template name="componentScripts">
|
|
<xsl:with-param name="component">
|
|
<xsl:choose>
|
|
<xsl:when test="debugger"><xsl:value-of select="$machineType"/>-dbg</xsl:when>
|
|
<xsl:otherwise><xsl:value-of select="$machineType"/></xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:with-param>
|
|
</xsl:call-template>
|
|
</body>
|
|
</html>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|