The global elements should be:
Document elements.
Substitution group elements.
Major components.
"Utility" elements (e.g. links, math, etc.)
All other elements should be declared locally:
Using a global type reference.
Using a local type definition--but think hard about why.