code: public String asString() throws TransformerException {
          Properties outputProperties = new Properties();
          outputProperties.put(javax.xml.transform.OutputKeys.OMIT_XML_DECLARATION, "yes");
          return asString(outputProperties);
      }
docs: Serialize the XML document to a string excluding the XML declaration.
  
  @return
  the XML document as a string without the XML declaration at the
  beginning of the output.
  
  @throws TransformerException