In most instances in the code blocks, xs:element is followed by the name of the element, i.e., xs:element name="ElementName", as shown in the following from Figure 3:
In the following instances, however xs:element is followed by one or more other other attributes, and then the name. For consistency, the name should come first. Note that the same occurs in the .xsd file.
From 5.4.2.1, Figure 3:
In most instances in the code blocks,
xs:element
is followed by the name of the element, i.e.,xs:element name="ElementName"
, as shown in the following from Figure 3:In the following instances, however
xs:element
is followed by one or more other other attributes, and then the name. For consistency, the name should come first. Note that the same occurs in the .xsd file. From 5.4.2.1, Figure 3:From 5.4.3, Figure 9: