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

  1. <!-- (C) 1996-1999 Corel Corporation Limited.  All Rights Reserved. -->
  2.  
  3. <!-- Simple DTD for illustrating attributes and external entities.  Uses
  4.      parameter entity declarations for WordPerfect character entity sets.
  5.      Requires a "catalog entry file" (COMPILE.CAT) because it contains
  6.      references to external entities.
  7. -->
  8.  
  9. <!DOCTYPE  sample2  [
  10.  
  11.  
  12. <!-- Parameter entities are used within the DTD.  They are not preserved
  13.      in the XML template file 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   wpwin8          "WordPerfect for Windows 8" >
  25.  
  26.  
  27. <!-- The following parameter entity declarations (and their accompanying
  28.      references later in this DTD) incorporate the PUBLIC character entity
  29.      sets for ISO characters into this DTD.  When you create an SGML template
  30.      file from this DTD, the DTD Compiler utility maps each entity name
  31.      to an external file by matching the entity's PUBLIC identifier with a
  32.      filename in the "catalog entry file". -->
  33.  
  34. <!-- Declare an external entity for each ISO 8879 character entity set -->
  35. <!ENTITY % isolat1  PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" >
  36. <!ENTITY % isolat2  PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" >
  37. <!ENTITY % isogrk1  PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN">
  38. <!ENTITY % isogrk2  PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN">
  39. <!ENTITY % isocyr1  PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN">
  40. <!ENTITY % isocyr2  PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN">
  41. <!ENTITY % isonum   PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN">
  42. <!ENTITY % isodia   PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN">
  43. <!ENTITY % isopub   PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN">
  44. <!ENTITY % isobox   PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN">
  45. <!ENTITY % isotech  PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN">
  46. <!ENTITY % isogrk3  PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN">
  47. <!ENTITY % isogrk4  PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN">
  48. <!ENTITY % isoamso  PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN">
  49. <!ENTITY % isoamsb  PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN">
  50. <!ENTITY % isoamsr  PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN">
  51. <!ENTITY % isoamsn  PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN">
  52. <!ENTITY % isoamsa  PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN">
  53. <!ENTITY % isoamsc  PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN">
  54.  
  55. <!-- Reference (parse through) each ISO 8879 character entity set -->
  56. %isolat1;
  57. %isolat2;
  58. %isogrk1;
  59. %isogrk2;
  60. %isocyr1;
  61. %isocyr2;
  62. %isonum;
  63. %isodia;
  64. %isopub;
  65. %isobox;
  66. %isotech;
  67. %isogrk3;
  68. %isogrk4;
  69. %isoamso;
  70. %isoamsb;
  71. %isoamsr;
  72. %isoamsn;
  73. %isoamsa;
  74. %isoamsc;
  75.  
  76.  
  77. <!-- Bring in WP characters (in sets 1, 3-9) with no ISO 8879 counterparts -->
  78. <!ENTITY % wpchars  PUBLIC "-//Corel//ENTITIES WP 6.1 Characters (Non-ISO 8879)//EN" "wpchars.ent">
  79. %wpchars;
  80.  
  81.  
  82. <!-- Elements appear in the "Valid Tags" and "All Tags" lists in the
  83.      "Elements" dialog. -->
  84.  
  85. <!--       NAME     OMIT   CONTENT MODEL --> 
  86.  
  87. <!ELEMENT  sample2  - -    (orgroup, andgroup) >
  88.  
  89. <!ELEMENT  orgroup  - -    (oritem1 | oritem2) >
  90. <!ELEMENT  andgroup - -    (anditem1 & anditem2) >
  91.  
  92. <!ELEMENT  (oritem1, oritem2, anditem1, anditem2)
  93.                     - -    (#PCDATA) >
  94.  
  95.  
  96. <!-- Attributes values may be entered while inserting a start tag for
  97.      the associated element.  You may also edit the attributes in an
  98.      existing start tag at any time. -->
  99.  
  100. <!ATTLIST  orgroup
  101.                     attrib-1    (a|b|c)            b
  102.                     attrib-2    CDATA              "data data data"
  103.                     attrib-3    ID                 #REQUIRED
  104.                     attrib-4    IDREF              #CONREF
  105.                     attrib-5    NAME      #FIXED   Corel
  106.                     attrib-6    NMTOKEN            #CURRENT
  107.                     attrib-7    NUMBER             12345
  108.                     attrib-8    NUTOKEN            #IMPLIED
  109.                     attrib-9    NUTOKENS           "1sttoken 2ndtoken" >
  110. ]>