In general, the W3C XML schema specification provides no functionality to assign which of the XML elements declared
in the XML schema will be used as the root of an XML document that complies with that schema.
However, in many concrete situations, such an intention very much exists and needs to be documented somehow. To solve that problem, we have introduced a concept of top-level elements. |
Typically, very few such elements can be found in an XML schema (possibly one or two per a namespace). Using the template parameter: