Global declarations are declarations that appear as direct children of the element.
Global element declarations can be reused throughout the XML Schema.
Local declarations do not have the element.
Local types can be used only in their specific context.
Referring to an Existing Global Element
To refer to a global element declaration, include a ref attribute and specify the name of the global element as the value.
An XML Schema Document Referencing Globally Defined Declarations
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="http://www.rntsoft.com/namespaces/pub"
xmlns="http://www.rntsoft.com/namespaces/pub">