DependentList
DependentList
- Dependent
- Name
- IDNumber
- Relationship
- QualifyforTaxCredit
- QualifiedCareExpense
- YearofBirth
- Student
- Disabled
- NumberOfMonths
- PYChildCareIndicator
Notes:
- Here is the first example of dealing with an element that may occur more than once, or in English, that may be present in the XML data file more than once.
- Throughout this proposed schema, we have used the word “List” to indicate that more than one of the elements that follows the list is allowed.
- In short, here is what this hierarchy means:
- One DependentList is allowed.
- Within each DependentList, there can be an unlimited number of Dependent elements.
- Within each Dependent element, there can be only one of the items listed.
- When we move to examine the schema you will be able to see that this is accomplished using the ‘minOccurs’ and ‘maxOccurs’ attributes.