Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
78 lines (77 sloc) 2.44 KB
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
indent="yes" />
<xsl:template match="outline:outline">
<title>Table of Content</title>
<link rel="stylesheet" href="opalang.css" />
h1 {
text-align: center;
font-size: 20px;
font-family: serif;
margin-bottom: 1cm;
div {border-bottom: 1px dashed rgb(200,200,200);}
span {float: right;}
li {list-style: none;}
ul {
font-size: 20px;
font-family: serif;
ul ul {font-size: 14px; }
ul ul ul {font-size: 12px; }
ul {padding-left: 0em;}
ul ul {padding-left: 1em;}
a {text-decoration:none; color: black;}
.toc {
border-bottom:1px solid #c6c6c2;
border-top: 1px solid #c6c6c2;
box-shadow: 1cm 1cm;
-webkit-box-shadow: 1cm 1cm;
padding: 5mm;
.logo {
margin-left: auto;
margin-right: auto;
margin-top: 1cm;
margin-bottom: 1cm;
<div class="toc">
<h1 class="toc-header">Table of Contents</h1>
<ul><xsl:apply-templates select="outline:item/outline:item"/></ul>
<xsl:template match="outline:item">
<xsl:if test="@title!=''">
<xsl:if test="@link">
<xsl:attribute name="href"><xsl:value-of select="@link"/></xsl:attribute>
<xsl:if test="@backLink">
<xsl:attribute name="name"><xsl:value-of select="@backLink"/></xsl:attribute>
<xsl:value-of select="@title" />
<span> <xsl:value-of select="@page" /> </span>
<xsl:apply-templates select="outline:item"/>
Something went wrong with that request. Please try again.