Constraint in XML

A schema:

Overview of TEI Customization, slide 3 of 13