<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns="http://ns.cafeconleche.org/genealogy/"
  targetNamespace="http://ns.cafeconleche.org/genealogy/"
  elementFormDefault="qualified"
  attributeFormDefault="unqualified"
>

  <xsd:annotation>
    <xsd:documentation>
      This schema describes a REFERENCE element intended for 
      use in family tree documents. It was developed as an 
      example for Chapter 34 of the XML Bible, Gold Edition, by 
      Elliotte Rusty Harold (elharo@metalab.unc.edu)
      Published by Hungry Minds 2001. ISBN 0-7645-4819-0.
      
      This schema is placed in the public domain. Please feel 
      free to use it or adapt it in any way you like. 
    </xsd:documentation>
  </xsd:annotation>
  
  <xsd:complexType name="SourceType">
    <xsd:annotation>
      <xsd:documentation>
        The SourceType is used exclusively for REFERENCE
        elements. Each such element has a unique ID attribute 
        by which it can be referred to, and PCDATA content
        identifying the source of the information; e.g.
        a document, an interview, personal recollection, etc.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:simpleContent>
      <xsd:extension base="xsd:string">
        <xsd:attribute name="ID" type="xsd:ID" use="required"/>
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType>
  
  <xsd:element name="SOURCE" type="SourceType"/>

</xsd:schema>  
  
  