<?xml version="1.0" encoding="ISO-8859-1" ?>

<!-- This DTD defines all the basic XML elements that are allowed in a 
     file of diagrams definitions given to PyReverse. -->

<!-- Public Identifier of this DTD is 
     "-//LOGILAB//DTD PyReverse Diagrams Description V1.0//EN"
  -->



<!-- DIADEFS

    This DTD defines all the basic XML elements that are allowed in a diagrams 
    definitions file given to pyreverse

-->

<!-- *********************** -->
<!-- DIAGRAMS-DEF:
    root
-->

<!ELEMENT diagrams-def (class-diagram|package-diagram)*>
<!ATTLIST diagrams-def update CDATA #IMPLIED>


<!-- *********************** -->
<!-- CLASS-DIAGRAM:
     A class diagram content description
-->
<!ELEMENT class-diagram (name,class*)>


<!-- *********************** -->
<!-- PACKAGE-DIAGRAM:
     A package diagram content description
-->
<!ELEMENT package-diagram (name,package*,class*)>


<!-- *********************** -->
<!-- PACKAGE:
     A package represent a module
-->
<!ELEMENT package (name,include?,class*)>


<!-- *********************** -->
<!-- CLASS:

     A class element references a class (described with the xmi-uml)
-->
<!ELEMENT class (name,owner?)>


<!-- *********************** -->
<!-- NAME, OWNER and INCLUDE:
     contain a text child with the corresponding value, designing a class name
     , a module name or an include rule
-->
<!ELEMENT name (#PCDATA)>
<!ELEMENT owner (#PCDATA)>
<!ELEMENT include (#PCDATA)>



