home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / SAMPLE1.DTD < prev    next >
Text File  |  2003-03-07  |  1KB  |  39 lines

  1. <!-- (C) 1996-1999 Corel Corporation Limited.  All Rights Reserved. -->
  2.  
  3. <!-- Simple DTD for illustrating basics of elements and entities.
  4.      Does not require a "catalog entry file" because it contains no
  5.      references to external entities.
  6. -->
  7.  
  8.  
  9. <!DOCTYPE  sample1  [
  10.  
  11.  
  12. <!-- Parameter entities are used within the DTD.  They are not preserved
  13.      in the XML template and are not used in the Corel WordPerfect 9
  14.      editing environment. -->
  15.  
  16. <!ENTITY % wp              "WordPerfect" >
  17. <!ENTITY % corel           "Corel Corporation" >
  18.  
  19.  
  20. <!-- General entities appear in the "Text References" or "File References"
  21.      dialogs in Corel WordPerfect 9. -->
  22.  
  23. <!ENTITY   wpcorel         "%wp;, from %corel;" >
  24. <!ENTITY   wp9             "Corel WordPerfect 9" >
  25.  
  26.  
  27. <!-- Elements appear in the "Valid Tags" and "All Tags" lists in the
  28.      "Elements" dialog. -->
  29.  
  30. <!--       NAME     OMIT   CONTENT MODEL --> 
  31.  
  32. <!ELEMENT  sample1  - -    (orgroup, andgroup) >
  33.  
  34. <!ELEMENT  orgroup  - -    (oritem1 | oritem2) >
  35. <!ELEMENT  andgroup - -    (anditem1 & anditem2) >
  36.  
  37. <!ELEMENT  (oritem1, oritem2, anditem1, anditem2)
  38.                     - -    (#PCDATA) >
  39. ]>