Adding an overall hierarchical structure to arbitrary XML records.