Added append method to XMLElement and DomElement

Needed this feature to move around the fact box.