From ba552f0d19a92c1836ec571431ddfe0c9426023e Mon Sep 17 00:00:00 2001 From: Thorsten Vitt <thorsten.vitt@uni-wuerzburg.de> Date: Wed, 27 Mar 2013 16:30:17 +0000 Subject: [PATCH] Use Isaballa's stylesheet and the packed TEI XSL version git-svn-id: https://develop.sub.uni-goettingen.de/repos/textgrid/trunk/services/aggregator@13873 7c539038-3410-0410-b1ec-0f2a7bf1c452 --- .../java/info/textgrid/services/aggregator/epub/EPUB.java | 2 +- src/main/{resources => webapp/WEB-INF/stylesheets}/epub.xsl | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) rename src/main/{resources => webapp/WEB-INF/stylesheets}/epub.xsl (99%) diff --git a/src/main/java/info/textgrid/services/aggregator/epub/EPUB.java b/src/main/java/info/textgrid/services/aggregator/epub/EPUB.java index 6a3aea6..8f73e45 100644 --- a/src/main/java/info/textgrid/services/aggregator/epub/EPUB.java +++ b/src/main/java/info/textgrid/services/aggregator/epub/EPUB.java @@ -48,7 +48,7 @@ @Path("/epub") public class EPUB { - private static final String EPUB_XSL = "/WEB-INF/tei/stylesheet/epub/tei-to-epub.xsl"; + private static final String EPUB_XSL = "/WEB-INF/stylesheets/epub.xsl"; private ITextGridRep repository = TextGridRepProvider.getInstance(); diff --git a/src/main/resources/epub.xsl b/src/main/webapp/WEB-INF/stylesheets/epub.xsl similarity index 99% rename from src/main/resources/epub.xsl rename to src/main/webapp/WEB-INF/stylesheets/epub.xsl index cd29c90..04d65e7 100644 --- a/src/main/resources/epub.xsl +++ b/src/main/webapp/WEB-INF/stylesheets/epub.xsl @@ -14,10 +14,7 @@ version="2.0" exclude-result-prefixes="iso tei teix dc html opf ncx smil xs html"> - <xsl:import - href="/usr/share/xml/tei/stylesheet/xhtml2/tei.xsl"/> - - <!-- by Isabella Reger, BA DH Project, University of Würzburg --> + <xsl:import href="../tei/stylesheet/epub/tei-to-epub.xsl"/> <!-- ************************* Variablen und Parameter ******************************* --> -- GitLab