code: public final void rewriteXml(
          Writer out,
          String xmlFile,
          String aloneTags[]
      ) {
          rewriteXml(
              out,
              xmlFile,
              aloneTags,
              false
          );
      }
docs: rewrite the given xmlfile
  
  @param out the writer to write the xml
  @param xmlFile xml file as a string
  @param aloneTags a string array of empty tags