closing bug #928 by dropping DOM document to xmlbuffer and re-reading into DOM each...