Lists

Allow multiple years in the YEAR element:

<element name="YEAR">
  <list>
    <oneOrMore>
      <data type="gYear"/>
    </oneOrMore>
  </list>
</element>

element SONG {
  element TITLE     { text },
  element COMPOSER  { xsd:string }+,
  element PRODUCER  { xsd:string }*,
  element PUBLISHER { xsd:string }?,
  element LENGTH    { xsd:string }?,
  element YEAR {
    list { xsd:gYear+ }
  }?,
  element ARTIST    { xsd:string }+
}

Previous | Next | Top | Cafe con Leche

Copyright 2005, 2006 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 18, 2005