title: How to replace value in XML tags when node have multiple values using JAVA
body: <p>I need to replace the values of the sEmployee and sWUnumber (Highlighted in yellow above) </p>
  
  <p>So far what i can do is replace the node value and other attributes. But when in  tags. I cannot seem to replace the sEmployee and SWUnumber. I assume that these elements are not attributes? </p>
  
  <p>Heres what i have done so far. </p>
  
  <pre><code>    DocumentBuilderFactory docFactory = DocumentBuilderFactory
              .newInstance();
      DocumentBuilder docBuilder = docFactory.newDocumentBuilder();
      Document doc = docBuilder.parse(Constant.Path_OldXmlFile);
  
      // Get Employee ID, I'm getting my values in excel data so don't mind this
      String sNewEmployeeID = ExcelUtils.getCellData(iTestCaseRow,
              Constant.Personnel_NewEmployeeID);
  
      // Get Work Unit Number, I'm getting my values in excel data so don't mind this
      String sWorkUnitNumber = ExcelUtils.getCellData(iTestCaseRow,
              Constant.Personnel_WorkUnit);
  </code></pre>