write_with_substitution (REXML::Node)

    # File rexml/node.rb, line 41
      def write_with_substitution out, input
    			copy = input.clone
    			# Doing it like this rather than in a loop improves the speed
    			copy.gsub!( SPECIALS[0], SUBSTITUTES[0] )
    			copy.gsub!( SPECIALS[1], SUBSTITUTES[1] )
    			copy.gsub!( SPECIALS[2], SUBSTITUTES[2] )
    			copy.gsub!( SPECIALS[3], SUBSTITUTES[3] )
    			copy.gsub!( SPECIALS[4], SUBSTITUTES[4] )
    			out << copy
    		end