I have a conceptual question, because I'm currently writing a concept concerning Dataexchange using xml & xsds.
When describing xsds, I often find myself wondering whether I am using the correct vocabulary. If I have, for example a definition as follows in my xsd:
<xs:complexType name="choiceOfKnownDateType">
<xs:choice>
<xs:element name="yearMonthDay" type="completeDate"/>
<xs:element name="yearMonth" type="yearMonthOnly"/>
<xs:element name="year" type="yearOnly"/>
</xs:choice>
</xs:complexType>
Am I correctly describing that example as: "We have a complex TYPE consisting of the ELEMENTS yearMonthDay, yearMonth and year. These ELEMENTS are of the TYPE completeDate, yearMonthOnly and yearOnly."
I don't care about the correctness or improvements over the example (I just made it up), I just need to know, whether I am using the terms "Element" and "Type" correctly :)
Thanks a lot in advance
Mischa