Skip to content
Snippets Groups Projects
Commit 97a0d1ef authored by zeterberg's avatar zeterberg
Browse files

fix(edxml2html): remove Kol-heading

parent e2ac33a9
Branches
No related tags found
1 merge request!5Resolve "Correct: 2: Kol I..."
/misc
\ No newline at end of file
/misc
/scenarios/xslt/edxml2html/samples/*
!/**/.gitkeep
\ No newline at end of file
......@@ -22,18 +22,10 @@
<xsl:template match="column">
<xsl:variable name="nr" select="if(@n) then(@n) else(count(preceding::column)+1)"/>
<xsl:variable name="roman-nr">
<xsl:number value="$nr" format="I"/>
</xsl:variable>
<xsl:variable name="id" select="if(@xml:id) then (@xml:id) else ('colu_'||generate-id(.))"/>
<div class="column"
id="{$id}"
data-n="{$nr}">
<h2 class="head">
<a href="#{$id}" class="column-anchor">
Col. <span class="col-nr" data-n="{$nr}" data-roman-n="{$roman-nr}"><!--<xsl:value-of select="$nr"/>--></span>
</a>
</h2>
<xsl:apply-templates />
</div>
</xsl:template>
......
......@@ -16,10 +16,7 @@
<head>
<meta charset="utf-8"/>
<title><xsl:apply-templates select="edxml/header/title"/></title>
<!--<style>
<xsl:copy-of select="unparsed-text('styles.css')"></xsl:copy-of>
</style>-->
<link rel="stylesheet" href="/home/sikora/ownCloud/job/projekte/sub_DigiEdi/sub_eupt/xml samples/scenarios/xslt/edxml2html/css/styles.css"></link>
<link rel="stylesheet" href="../css/styles.css"/> <!-- For files in /scenarios/xslt/edxml2html/samples -->
</head>
<body>
<xsl:apply-templates select="edxml/text"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tei="http://www.tei-c.org/ns/1.0"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="xs"
version="2.0" xpath-default-namespace="http://sub.uni-goettingen.de/edxml#">
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tei="http://www.tei-c.org/ns/1.0"
xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xs" version="2.0"
xpath-default-namespace="http://sub.uni-goettingen.de/edxml#">
<xsl:include href="libs/html-facsimile.lib.xsl"/>
<xsl:include href="libs/html-tei.lib.xsl"/>
<xsl:output indent="yes"/>
<xsl:template match="/">
<html lang="en-US">
<head>
<meta charset="utf-8"/>
<title><xsl:apply-templates select="edxml/header/title"/></title>
<!--<style>
<xsl:copy-of select="unparsed-text('css/styles.css')"></xsl:copy-of>
</style>-->
<link rel="stylesheet" href="/home/sikora/ownCloud/job/projekte/sub_DigiEdi/sub_eupt/xml samples/scenarios/xslt/edxml2html/css/styles.css"></link>
<title>
<xsl:apply-templates select="edxml/header/title"/>
</title>
<link rel="stylesheet" href="../css/styles.css"/>
<!-- For files in /scenarios/xslt/edxml2html/samples -->
</head>
<body>
<xsl:apply-templates select="edxml/text"/>
</body>
</html>
</xsl:template>
<xsl:template match="header"/>
<xsl:template match="text">
<xsl:apply-templates select="facsimile"/>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
</xsl:stylesheet>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment