       * @param   io.File file
       * @param   string c default __CLASS__ class name
       * @return  xml.Tree
-@@ -145,90 +133,25 @@
+@@ -145,89 +134,22 @@
       * @throws  io.IOException in case reading the file fails
       */ 
      public static function fromFile($file, $c= __CLASS__) {

-      }
+    public function toString() {
+      return sprintf(
+        "%s(version= %s encoding=%s) {\n  %s\n}",
+        $this->getClassName(),
+        $this->version,
+        $this->encoding,

     }
     
     /**
@@ -138,6 +126,7 @@
      *   $tree= Tree::fromFile(new File('foo.xml'));
      * </code>
      *
