
150 • XML & Related Technologies
The above declaration is equivalent to the following:
<xsd:element name = “AUTHOR” type = “xsd:string”
minOccurs = “1” maxOccurs = “2”/>
There is a specific value called as unbounded, which means infinite occurrences. Whenever we wish
to specify that the upper limit for an element occurrence is infinite (that is, there is no upper limit), we can
specify it as unbounded. For example, if our book can have a minimum of one author or an infinite number
of authors, our declaration would change to:
<xsd:element name = “AUTHOR” type = “xsd:string”
minOccurs = “1” maxOccurs = “unbounded”/>
Based on our requirements, ...