docs: public Writer writeTo(final Writer out) throws IOException {
          final Iterator iter = nodeIterator();
          while (iter.hasNext()) {
              ((Node) iter.next()).writeTo(out);
          }
          return out;
      }