title: xmlstarlet update through batch file not updating/working
body: <p>I have task scheduler xml file that i am trying to edit.</p>
  
  <pre><code>        &lt;?xml version="1.0" encoding="UTF-16"?&gt;
      &lt;Task xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task" version="1.4"&gt;
        &lt;RegistrationInfo&gt;
          &lt;Date&gt;2017-03-12T16:40:52.4111579&lt;/Date&gt;
          &lt;Author&gt;Kevin&lt;/Author&gt;
          &lt;Description&gt;Runs Batch File For Counter&lt;/Description&gt;
          &lt;URI&gt;THETASKTITLEGOESHERE&lt;/URI&gt;
        &lt;/RegistrationInfo&gt;
    &lt;Actions Context="Author"&gt;
      &lt;Exec&gt;
        &lt;Command&gt;"ACTIONGOESHERE"&lt;/Command&gt;
      &lt;/Exec&gt;
    &lt;/Actions&gt;
  &lt;/Task&gt;
  </code></pre>
  
  <p>Here is what i have in the batch file.</p>
  
  <pre><code>@echo off
  pushd %~dp0
  
  xml ed -inplace -r "/Task/RegistrationInfo/Author" -v CGL XMLTEST1.xml
  xml ed -inplace -r "/Task/RegistrationInfo/URI" -v CGL-FakeTitle XMLTEST1.xml
  xml ed -inplace -r "/Task/Actions/Exec/Command" -v "C:\Batch\Counter.bat" XMLTEST1.xml
  pause
  </code></pre>
  
  <p>I have tried the suggestions here; <a href="https://stackoverflow.com/questions/15108132/xmlstarlet-update-value-nothing-happens">xmlstarlet update value nothing happens</a></p>
  
  <p>Adding the   " > XMLTEST1output.xml" at the end resulted in an empty file.
  Any suggestions would be helpful.  Thank you!</p>