YADS Model Schema - DTD


This is the DTD schema for the YADS model.


  <?xml version="1.0" encoding="UTF-8"?>
  <!--
  
    YADS - DTD
  
    This document describes YADS - A Description Service
    in an XML Document Type Declaration.
  
    ==
  
    // From RDF Schema for YADS

    Resource:     yads-schema-2007-05-17
    Comment:      RDF Schema for YADS - A Description Service
    Author:       Tony Hammond <t.hammond@nature.com>
    Revision:     May 17, 2007 - Tony Hammond
  
    ==

    <!DOCTYPE yads [
  
    <!ELEMENT yads (item | nest)*>
  
    <!ELEMENT item ((resource | collection), property*)>
    <!ELEMENT nest ((resource , collection), property*)>
  
    <!ELEMENT collection (item | nest)+>
    <!ATTLIST collection
      order (choice | sequenced | unordered) "unordered"
    >
  
    <!ELEMENT resource (#PCDATA)>
  
    <!ELEMENT property (#PCDATA)>
    <!ATTLIST property
      type CDATA #IMPLIED
    >

  ]>

  -->
  <yads/>