single mandatory root element in presentation tree

To be split into two functions