All of the following methods should be made private and unit test(s) should be at a higher level (using XmlUnit).