I'm investigating substitution groups in XML schema and I can't seem to find the official spec. can anyone point me to it ?
I'm wondering if an element with substitution group attribute can replace an element inside a complex or only global elements as w3schools claims :
"Note that all elements in the substitutionGroup (the head element and the substitutable elements) must be declared as global elements, otherwise it will not work!"
is the above statement true ?
since global elements can each be a root of the XML instance - what is the point of defining substitution groups on them ?