# File rexml/document.rb, line 128 def write( output, indent=-1 ) @children.each { |node| node.write( output, indent ) output << "\n" unless indent<0 or node == @children[-1] } end