"Fossies" - the Fresh Open Source Software Archive

Member "test.dtd" (27 Jul 2001, 798 Bytes) of package /linux/privat/old/dtd2xs154.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version = "1.0" encoding="iso-8859-1"?>
    2 <!DOCTYPE personen [
    3 <!ELEMENT personen      (person)*>
    4 <!-- person: arzt, patient -->
    5 <!ELEMENT person        (arzt|patient)>
    6 <!ELEMENT arzt          (name, vorname, (strasse, plz, ort)? )> <!-- "arzt" -->
    7 <!ELEMENT patient       (name, vorname, strasse, plz, ort, diagnosen*)>
    8 <!ELEMENT diagnosen     (diagnose*)>
    9 <!ELEMENT name          (#PCDATA)>
   10 <!ELEMENT vorname       (#PCDATA)>
   11 <!ELEMENT strasse       (#PCDATA)>
   12 <!ELEMENT plz           (#PCDATA)>
   13 <!ELEMENT ort           (#PCDATA)>
   14 <!ELEMENT diagnose      (#PCDATA)>
   15 
   16 <!ATTLIST patient 
   17     pat_id   CDATA                  #REQUIRED
   18     kennung  (intern|extern|beides) #REQUIRED
   19     hausarzt IDREF                  #IMPLIED>   
   20 <!ATTLIST arzt
   21     lfdnr    ID                     #REQUIRED>
   22 ] >
   23 <personen/>