Schema 4 projects (= XML), created in Studio, are a real pain.
Especially those segments that only contain tags plus a / or another punctuation mark. And those segments that start with a tag.
I've tried a lot and now I've come to this simple solution:
Simple, but it works.