<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MetadataSet [

  <!-- The outer tag of any metadata set. Contains some number of elements.             -->
  <!-- @param contact     A contact address for the creator.                            -->
  <!-- @param creator     The name of the entity resposibly for this set.               -->
  <!-- @param family      The namespace of this metadata set.                           -->
  <!-- @param lastchanged The full date, user name and machine name of the last editor. --> 
  <!--   uses the form:                                                                 -->
  <!--   Day Mon(th) dd hh:mm:ss yyyy '-' <username> on <machine>                       -->
  <!-- @param namespace   The abbreviated namespace of this metadata set.               -->
  <!ELEMENT MetadataSet (Element+)>
  <!ATTLIST MetadataSet
				contact     CDATA #REQUIRED
				creator     CDATA #REQUIRED
            family      CDATA #REQUIRED
				lastchanged CDATA #REQUIRED
				namespace   CDATA #REQUIRED>

  <!-- The name of a metadata set. Is language specific. -->
  <!ELEMENT Name (#PCDATA)>
  <!ATTLIST Name
            language CDATA "en">

  <!-- The description of a metadata set. Is language specific. -->
  <!ELEMENT Description (#PCDATA)>
  <!ATTLIST Description
            language CDATA "en">

  <!-- An element in the metadata set. -->
  <!ELEMENT Element (Attribute*,OptionList?)>
  <!ATTLIST Element
				hierarchy  CDATA "false"
            name       CDATA #REQUIRED
				occurances CDATA "0">

  <!-- Each element has several attribute children. -->
  <!ELEMENT Attribute (#PCDATA)>
  <!ATTLIST Attribute
            name CDATA #REQUIRED>

  <!-- For listing predefined values for this element. -->
  <!ELEMENT OptionList (Value+)>
  <!ATTLIST OptionList
            restricted (true|false) "false">
]>

<MetadataSet 
contact = "nzdl.org"
creator = "New Zealand Digital Libraries Project: Greenstone"
family = "Development Library Subset"
lastchanged = "Tue Jun 04 10:35:30 2002 - jmt12 on blackbird"
namespace = "dls">

  <Name language="en">Development Library Subset Example Metadata</Name>

  <Description language="en">A metadata set file for use in The Gatherer, created from original metadata found within the Development Library Subset.</Description>

  <Element name="Title" remember_values="true">
    <Attribute name="comment" language="en"></Attribute>
    <Attribute name="definition" language="en">The title of this resource.</Attribute>
    <Attribute name="identifier" language="en">Title</Attribute>
    <Attribute name="version">1.0</Attribute>
  </Element>

  <Element name="Organization" hierarchy="true" remember_values="true">
    <Attribute name="comment" language="en"></Attribute>
    <Attribute name="definition" language="en">The organization responsible for producing this resource.</Attribute>
    <Attribute name="identifier" language="en">Organization</Attribute>
    <Attribute name="version">1.0</Attribute>
  </Element>

  <Element name="Subject" hierarchy="true" remember_values="true">
    <Attribute name="comment" language="en">Currently uses a hierarchy.</Attribute>
    <Attribute name="definition" language="en">The subject of this resource.</Attribute>
    <Attribute name="identifier" language="en">Subject And Keywords</Attribute>
    <Attribute name="version">1.0</Attribute>
  </Element>

  <Element name="Keyword" hierarchy="true" remember_values="true">
    <Attribute name="comment" language="en">Informal.</Attribute>
    <Attribute name="definition" language="en">A more specific indication of what the resource can be used for.</Attribute>
    <Attribute name="identifier" language="en">Keyword</Attribute>
    <Attribute name="version">1.0</Attribute>
  </Element>

  <Element name="Language" remember_values="true">
    <Attribute name="comment" language="en"></Attribute>
    <Attribute name="definition" language="en">The language of this resource.</Attribute>
    <Attribute name="identifier" language="en">Language</Attribute>
    <Attribute name="version">1.0</Attribute>
  </Element>

  <Element name="AZList" hierarchy="true" remember_values="true">
    <Attribute name="comment" language="en">Not the same as an AZList classifier.</Attribute>
    <Attribute name="definition" language="en">A customizable AZList based on document titles.</Attribute>
    <Attribute name="identifier" language="en">AZList</Attribute>
    <Attribute name="version">1.0</Attribute>
  </Element>

</MetadataSet>

