This method, also add any end-tag missing in order to insure compliance with the XML guidelines.