Index: s10k/XmlTools/README.txt
===================================================================
--- s10k/XmlTools/README.txt	(revision 1110)
+++ s10k/XmlTools/README.txt	(revision 1111)
@@ -1,5 +1,5 @@
 Readme.txt
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-XmlTools v2.0d
+XmlTools v2.0e
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -50,5 +50,5 @@
 ----------------------------------
 
-Script10k, "faob2@hotmail.com"
+s10k, "faob2@hotmail.com"
 
 Oni Central Forum:
@@ -61,4 +61,7 @@
 ----------------------------------
 Change Log:
+----------------------------------
+2.0e, 16-02-2019
+-Fixed bug in the processing of patch files when the target XML contained an apostrophe (') in the path
 ----------------------------------
 2.0d, 05-10-2017
Index: s10k/XmlTools/utilglobalvars.h
===================================================================
--- s10k/XmlTools/utilglobalvars.h	(revision 1110)
+++ s10k/XmlTools/utilglobalvars.h	(revision 1111)
@@ -24,5 +24,5 @@
 
 static const QString AppName = "XmlTools";
-static const QString AppVersion = "2.0d";
+static const QString AppVersion = "2.0e";
 #ifdef Q_OS_WIN
 static const QString AppExecutable=AppName+".exe";
Index: s10k/XmlTools/xmlpatch.cpp
===================================================================
--- s10k/XmlTools/xmlpatch.cpp	(revision 1110)
+++ s10k/XmlTools/xmlpatch.cpp	(revision 1111)
@@ -374,9 +374,4 @@
             command=GlobalVars::AppExecutable;
 
-            // Append files if forced to
-            if(!this->forceTargetFilesWildcard.isEmpty()){
-                command+=" --files '"+this->forceTargetFilesWildcard+"' ";
-            }
-
             command+=" "+getPatchParameterValue(line,"Options");
 
@@ -392,4 +387,11 @@
             command.replace("'","\""); //replace apostrophe by quotes, to avoid problems
             command.replace("\"\"","'"); // this allow to use '' as ' ('' is transformed in "" and then in ')
+
+            // Append files if forced to
+
+            // This is added at the end so the apostrophe isn't done here (the path can contain it)
+            if(!this->forceTargetFilesWildcard.isEmpty()){
+                command+=" --files \""+this->forceTargetFilesWildcard+"\" ";
+            }
 
             executeCommandOperation(command);
