diff --git a/ws/Docbook/Extensions/Xsl/common.xsl b/ws/Docbook/Extensions/Xsl/common.xsl
index 17dc33e36205a3466543c00f6b71cb482f3fedef..e95853eeeef426d4cafd98b2eef91545abd710b9 100644
--- a/ws/Docbook/Extensions/Xsl/common.xsl
+++ b/ws/Docbook/Extensions/Xsl/common.xsl
@@ -4,18 +4,18 @@
     exclude-result-prefixes="xs"
     version="2.0">
     
-    <xsl:template name="hdm.get.leftmost.of.seperator">
+    <xsl:template name="hdm.get.leftmost.of.separator">
         <xsl:param name="path"/>
-        <xsl:param name="seperator"/>
+        <xsl:param name="separator"/>
         <xsl:param name="start">1</xsl:param>
-        <xsl:if test="contains($path, $seperator )">
+        <xsl:if test="contains($path, $separator )">
             <xsl:if test="$start='0'">
-                <xsl:value-of select="$seperator"/>
+                <xsl:value-of select="$separator"/>
             </xsl:if>
-            <xsl:value-of select="substring-before($path, $seperator)"/>
-            <xsl:call-template name="hdm.get.leftmost.of.seperator">
-                <xsl:with-param name="path" select="substring-after($path, $seperator)"/>
-                <xsl:with-param name="seperator" select="$seperator"/>
+            <xsl:value-of select="substring-before($path, $separator)"/>
+            <xsl:call-template name="hdm.get.leftmost.of.separator">
+                <xsl:with-param name="path" select="substring-after($path, $separator)"/>
+                <xsl:with-param name="separator" select="$separator"/>
                 <xsl:with-param name="start">0</xsl:with-param>
             </xsl:call-template>
         </xsl:if>
diff --git a/ws/Docbook/Extensions/Xsl/docbook2docbook.xsl b/ws/Docbook/Extensions/Xsl/docbook2docbook.xsl
index a7e044bc95983d7c306c88146af4ceda9072feda..e8e6a0dd22e18f255de3d08433f6e89c92b89c00 100644
--- a/ws/Docbook/Extensions/Xsl/docbook2docbook.xsl
+++ b/ws/Docbook/Extensions/Xsl/docbook2docbook.xsl
@@ -35,9 +35,9 @@
             <xsl:copy-of select="@*[name() != 'fileref']"/>
             <xsl:attribute name="fileref">
                 <xsl:if test="ancestor::*/@xml:base">
-                    <xsl:call-template name="hdm.get.leftmost.of.seperator">
+                    <xsl:call-template name="hdm.get.leftmost.of.separator">
                         <xsl:with-param name="path" select="ancestor::*/@xml:base"/>
-                        <xsl:with-param name="seperator" select="'/'"/>
+                        <xsl:with-param name="separator" select="'/'"/>
                     </xsl:call-template>                  
                     <xsl:text>/</xsl:text>
                 </xsl:if>
@@ -50,9 +50,9 @@
         <db:videodata>
             <xsl:copy-of select="@*[name() != 'fileref']"/>
             <xsl:attribute name="fileref">
-                <xsl:call-template name="hdm.get.leftmost.of.seperator">
+                <xsl:call-template name="hdm.get.leftmost.of.separator">
                     <xsl:with-param name="path" select="ancestor::*/@xml:base"/>
-                    <xsl:with-param name="seperator" select="'/'"/>
+                    <xsl:with-param name="separator" select="'/'"/>
                 </xsl:call-template>                  
                 <xsl:text>/</xsl:text>
                 <xsl:value-of select="@fileref"/>
@@ -68,15 +68,15 @@
             <xsl:if test="substring-after(parent::db:figure/db:mediaobject/db:imageobject/db:imagedata/@fileref, '.') = 'fig'">
                 <uri>
                     <xsl:attribute name="xlink:href">
-                        <xsl:call-template name="hdm.get.leftmost.of.seperator">
+                        <xsl:call-template name="hdm.get.leftmost.of.separator">
                             <xsl:with-param name="path" select="ancestor::*/@xml:base"/>
-                            <xsl:with-param name="seperator" select="'/'"/>
+                            <xsl:with-param name="separator" select="'/'"/>
                         </xsl:call-template>                  
                         <xsl:text>/</xsl:text>
-                        <xsl:call-template name="hdm.get.leftmost.of.seperator">
+                        <xsl:call-template name="hdm.get.leftmost.of.separator">
                             <xsl:with-param name="path" 
                                 select="parent::db:figure/db:mediaobject/db:imageobject/db:imagedata/@fileref"/>
-                            <xsl:with-param name="seperator" select="'.'"/>
+                            <xsl:with-param name="separator" select="'.'"/>
                         </xsl:call-template>                  
                         <xsl:text>.pdf</xsl:text>
                     </xsl:attribute>
diff --git a/ws/Docbook/Extensions/Xsl/docbookExtractFig.xsl b/ws/Docbook/Extensions/Xsl/docbookExtractFig.xsl
index 9ff06df7c480a4eb94a9990257530a1b51674dbe..b928704babfbad70fded428be3cec026dcf7c730 100644
--- a/ws/Docbook/Extensions/Xsl/docbookExtractFig.xsl
+++ b/ws/Docbook/Extensions/Xsl/docbookExtractFig.xsl
@@ -12,9 +12,9 @@
     <xsl:template match="d:imagedata" mode="goik">
         <xsl:variable name="fullFileName" select="@fileref"/>
         <xsl:variable name="dirPath">
-            <xsl:call-template name="hdm.get.leftmost.of.seperator">
+            <xsl:call-template name="hdm.get.leftmost.of.separator">
                 <xsl:with-param name="path" select="$fullFileName"/>
-                <xsl:with-param name="seperator" select="'/'"/>
+                <xsl:with-param name="separator" select="'/'"/>
             </xsl:call-template>
         </xsl:variable>
         
@@ -25,16 +25,16 @@
         </xsl:variable>
         
         <xsl:variable name="fileBaseName">
-            <xsl:call-template name="hdm.get.leftmost.of.seperator">
+            <xsl:call-template name="hdm.get.leftmost.of.separator">
                 <xsl:with-param name="path" select="$fileName"/>
-                <xsl:with-param name="seperator" select="'.'"/>
+                <xsl:with-param name="separator" select="'.'"/>
             </xsl:call-template>
         </xsl:variable>
         
         <xsl:variable name="moduleBaseName">
-            <xsl:call-template name="hdm.get.leftmost.of.seperator">
+            <xsl:call-template name="hdm.get.leftmost.of.separator">
                 <xsl:with-param name="path" select="ancestor::*/@xml:base"/>
-                <xsl:with-param name="seperator" select="'/'"/>
+                <xsl:with-param name="separator" select="'/'"/>
             </xsl:call-template>
         </xsl:variable>