From 184336ed6b1dbbd5213a8a1db5a4be0a73aba10c Mon Sep 17 00:00:00 2001
From: "Dr. Martin Goik" <goik@hdm-stuttgart.de>
Date: Sun, 14 Oct 2018 12:30:58 +0200
Subject: [PATCH] Re-orering generated svg layer

---
 ws/Docbook/Preprocess/Xsl/docbookExtractFig.xsl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ws/Docbook/Preprocess/Xsl/docbookExtractFig.xsl b/ws/Docbook/Preprocess/Xsl/docbookExtractFig.xsl
index be2783be5..974f8547e 100644
--- a/ws/Docbook/Preprocess/Xsl/docbookExtractFig.xsl
+++ b/ws/Docbook/Preprocess/Xsl/docbookExtractFig.xsl
@@ -120,9 +120,9 @@
             <svg xmlns="http://www.w3.org/2000/svg">
               <xsl:copy-of select="$svgRoot/@*" />
               <xsl:copy-of select="$svgRoot/*[not (name(.) = 'g')]"/>
-              <xsl:apply-templates select="." mode="sortLayer"/>
               <xsl:copy-of select="$masterSlide"/>
-            </svg>
+              <xsl:apply-templates select="." mode="sortLayer"/>
+             </svg>
           </xsl:result-document>
         </xsl:for-each>
       </start>
-- 
GitLab