Changeset 960 for XmlTools2


Ignore:
Timestamp:
Feb 16, 2014, 4:10:52 PM (11 years ago)
Author:
s10k
Message:

XmlTools
Added double single quotes to allow single quotes in XPath expressions in @COMMAND

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XmlTools2/trunk/xmlpatch.cpp

    r958 r960  
    271271        engine.globalObject().setProperty("$xmlData",currXmlFileString);
    272272
    273         if(this->verboseEnabled){
    274             begin = clock();
    275         }
     273        begin = clock();
    276274
    277275        // main needs to be called so the user code is evaluated
     
    460458
    461459            command.replace("'","\""); //replace apostrophe by quotes, to avoid problems
     460            command.replace("\"\"","'"); // this allow to use '' as ' ('' is transformed in "" and then in ')
    462461
    463462            executeCommandOperation(command);
Note: See TracChangeset for help on using the changeset viewer.