W3C XML Schemas


<xsd:schema xmlns:xsd="http://www.w3.org/1999/XMLSchema">

  <xsd:element name="SONG" type="SONGType"/>
  
  <xsd:complexType name="SONGType">
    <xsd:element name="TITLE" type="xsd:string"/>
    <xsd:element name="COMPOSER" minOccurs="1" type="xsd:string"/>
    <xsd:element name="PRODUCER"  minOccurs="0"  type="xsd:string"/>
    <xsd:element name="PUBLISHER" minOccurs="0"  type="xsd:string"/>
    <xsd:element name="LENGTH" minOccurs="0" maxOccurs="1" type="xsd:timeDuration"/>
    <xsd:element name="YEAR" minOccurs="0"  maxOccurs="1" type="xsd:year"/>
    <xsd:element name="ARTIST" minOccurs="1"  type="xsd:string"/>
  </xsd:complexType>

</xsd:schema>


Previous | Next | Top | Cafe con Leche

Copyright 1999, 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified July 14, 2000