<?xml version="1.0" encoding="UTF-8"?>
<!--
     This dtd describes the basic data structures used by adms classes
     It is used to check the validy of file http://mot-adms/sourceforge.net/xml-files/adms.xml
     You can try using xmllint: xmllint adms.xml -noout -postvalid -noblanks
--> 
<!--
  $Id: metaadms.dtd 505 2007-01-23 11:17:43Z r29173 $
-->
<!--
  $Log$
  Revision 1.10  2006/09/04 08:51:04  r29173
  tons of simplifications

  Revision 1.9  2005/11/25 14:15:25  r29173
  changed admstpath parser mechanisms

  Revision 1.8  2005/11/22 09:29:47  r29173
  added element comment

  Revision 1.7  2005/05/25 08:27:49  r29173
  moving code from  xmlParserNew.c to xml

  Revision 1.6  2005/03/22 11:30:18  r29173
  migration to adms-2.x.x: clean-up xml constructs

  Revision 1.5  2005/03/17 08:26:28  r29173
  migration to adms-2.x.x: move all href from absolute to relative values

  Revision 1.4  2005/02/25 12:49:35  r29173
  migration to adms-2.x.x: renamed admst transforms

--> 
<!ELEMENT adms (element)+ >
<!ELEMENT element (uid,scalar*,list*,(comment|element)*) >
<!ELEMENT uid (warning|comment|attribute)+ >
<!ELEMENT scalar (warning|comment|attribute)+ >
<!ELEMENT list (warning|comment|attribute)+ >
<!ELEMENT attribute (evalue*) >
<!ELEMENT reference EMPTY >
<!ELEMENT evalue EMPTY >
<!ELEMENT comment (#PCDATA) >
<!ELEMENT warning (#PCDATA) >
<!ATTLIST uid
  format CDATA #REQUIRED
>
<!ATTLIST element
  name CDATA #REQUIRED
  info CDATA #REQUIRED
>
<!ATTLIST scalar
>
<!ATTLIST list
  onduplicate  (passthrough|ignore|abort|ignore-abort) "ignore"
>
<!ATTLIST attribute
  name CDATA #REQUIRED
  datatypefamily (basicpointer|basictype|reference) "reference"
  datatypename CDATA #REQUIRED
  default CDATA #IMPLIED
  required  (yes|no) "yes"
  onrewrite CDATA #IMPLIED
  info CDATA #REQUIRED
>
<!ATTLIST evalue
  name CDATA #REQUIRED
  info CDATA #REQUIRED
>
