title: Prevent transformer.transform( source, result ) from escaping special character
body: <p>I'm updating node and text content of the xml using DOM parser. To save that DOM parser I'm using transformer.transform method. 
  Below is the sample code.</p>
  
  <pre><code>String xmlText = "&lt;uc&gt;abcd&gt;&lt;name&gt;mine&lt;/name&gt;efgh\netg&lt;tag&gt;sd&lt;/tag&gt;&lt;/uc&gt;";
          DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
          DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
          InputSource inStream = new InputSource();
          inStream.setCharacterStream(new StringReader(xmlText));
          Document document = documentBuilder.parse(inStream);
          Node node = document.getDocumentElement();      
          node.normalize();
          NodeList childNodes = node.getChildNodes();
          for(int i=0; i&lt;childNodes.getLength(); i++) {
              if(childNodes.item(i).getNodeType() == Node.TEXT_NODE) {
                  System.out.println(childNodes.item(i).getTextContent());
                  childNodes.item(i).setTextContent("123&gt;");
              }
          }
          TransformerFactory tFactory = TransformerFactory.newInstance();
          Transformer transformer = tFactory.newTransformer();
          transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
          transformer.setOutputProperty(OutputKeys.ENCODING, "US-ASCII");
          transformer.setOutputProperty(OutputKeys.INDENT, "yes");
          DOMSource source = new DOMSource( document );
          OutputStream xml = new ByteArrayOutputStream();
          StreamResult result = new StreamResult( xml  );
  
          transformer.transform( source, result );
          String formattedXml = xml.toString();
          System.out.println(formattedXml);
  </code></pre>
  
  <p>Since my updated document is having text content like ">", transformer.transform method is changing it to &amp;g t;
  Is there a way to get the output without escaping special characters. 
  I can't use other parser because of some project constraints.
  I can't use StringEscapeUtils.unescapeXml(). The reason is xml can have &amp;g t;. If i use this utility method, &amp;g t; which was originally present in the xml will also get changed.
  So i want a mechanism which will not escape any special character.</p>