A simple class for constructing and deconstructing element based documents like html and xml.