From 682d849b79d6d32584c34b7ddc78d7f7bb23bade Mon Sep 17 00:00:00 2001
From: kthoden <kthoden@gwdg.de>
Date: Wed, 11 Dec 2019 00:47:02 +0100
Subject: [PATCH] Path adjustments

---
 xxe/eoa/xsl/tei2html.xsl                  | 1 +
 xxe/eoa/xsl/tei2html_utils/html_rules.xsl | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/xxe/eoa/xsl/tei2html.xsl b/xxe/eoa/xsl/tei2html.xsl
index e64b002..fdf72c4 100755
--- a/xxe/eoa/xsl/tei2html.xsl
+++ b/xxe/eoa/xsl/tei2html.xsl
@@ -107,6 +107,7 @@
                         <div class="project-teaser__image">
                           <xsl:element name="img">
                             <xsl:attribute name="src">
+                              <xsl:text>../../</xsl:text>
                               <xsl:value-of select="//tei:front/tei:figure[@type='cover']/tei:graphic/@url"/>
                             </xsl:attribute>
                             <xsl:attribute name="alt">
diff --git a/xxe/eoa/xsl/tei2html_utils/html_rules.xsl b/xxe/eoa/xsl/tei2html_utils/html_rules.xsl
index 2295b30..389740c 100755
--- a/xxe/eoa/xsl/tei2html_utils/html_rules.xsl
+++ b/xxe/eoa/xsl/tei2html_utils/html_rules.xsl
@@ -13,7 +13,7 @@
 	<xsl:key name="theorems" match="tei:p[@corresp]" use="eoa:normalize_reference(@corresp)"/>
 
 	<!-- TODO: restrict values by using a datatype -->
-	<xsl:param name="domain" select="'http://mprl-series.mpg.de'"/>
+	<xsl:param name="domain" select="'../..'"/>
 
 	<xsl:variable name="series" select="lower-case(/tei:TEI/tei:teiHeader/tei:fileDesc/tei:seriesStmt/tei:title)"/>
 	<xsl:variable name="publication_number" select="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:seriesStmt/tei:idno[@type = 'number']"/>