code: private void appendXMLDeclaration(DigitalObject obj,
                                        String encoding,
                                        PrintWriter writer) {
          writer.print("<?xml version=\"1.0\" encoding=\"");
          writer.print(encoding);
          writer.print("\" ?>\n");
      }
docs: ---