Project

Profile

Help

Maintenance: Planio will be observing a scheduled maintenance window this Tuesday, November 5, 2024 from 03:00 UTC until 06:30 UTC to perform urgent network maintenance in our primary data center. Your Planio account will be unavailable during this maintenance window.

Bug #1669 » view_names_0.xsl

Manfred Staudinger, 2013-02-18 12:05

 
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:dr="http://documenta.rudolphina.org/"
exclude-result-prefixes="dr html"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes" />

<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="dr:*"/>
<xsl:template match="dr:doc">
<body>
<div id="htmlbody">
<h3><a href="../Index.html" title="Version 2.0">Documenta Rudolphina</a></h3>
<div class="namelist namedoc">
<xsl:apply-templates select="node()[not(preceding::html:div[@class='docindex'])][preceding::html:title]"/>
</div>
<xsl:if test="normalize-space(node()[preceding::html:div[@class='docindex']])">
<div class="zusatz">
<xsl:apply-templates select="node()[preceding::html:div[@class='docindex']]"/>
</div>
</xsl:if>
<div class="last">
<div class="floatright"><span><xsl:value-of select="concat('Copyright © ', substring(/dr:doc/@v, 1, 4), ' Manfred Staudinger')"/></span></div>
<div class="verslink" data-v="{/dr:doc/@v}">
<a href="#" title="Zitiervorschlag">
<xsl:value-of select="concat('Version: ', /dr:doc/@v)"/>
</a>
</div>
</div>
</div>
</body>
</xsl:template>

<xsl:template match="/">
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><xsl:value-of select="dr:doc/html:title"/></title>
<link rel="stylesheet" href="../css/common_a.css" type="text/css" />
<!-- use alert in Saxonce.nocache.js -->
<script type="text/javascript" language="javascript" src="../../SaxonceDebug/Saxonce.nocache.js"/>
<script type="text/javascript" language="javascript">
onSaxonLoad = function() {
proc = Saxon.run({
initialTemplate: 'main',
logLevel: 'FINE',
stylesheet: '../view_all_0.xsl'
});
}
</script>
</head>
<xsl:apply-templates select="dr:doc"/>
</html>
</xsl:template>

</xsl:stylesheet>
(2-2/3)