home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: 25 Years Anniversary
/
CHIP_25Jahre_Jubilaeum.iso
/
downloads
/
401065
/
WPO11
/
Data1.cab
/
SAMPLE2.DTD
< prev
next >
Wrap
Text File
|
2003-03-07
|
5KB
|
110 lines
<!-- (C) 1996-1999 Corel Corporation Limited. All Rights Reserved. -->
<!-- Simple DTD for illustrating attributes and external entities. Uses
parameter entity declarations for WordPerfect character entity sets.
Requires a "catalog entry file" (COMPILE.CAT) because it contains
references to external entities.
-->
<!DOCTYPE sample2 [
<!-- Parameter entities are used within the DTD. They are not preserved
in the XML template file and are not used in the Corel WordPerfect 9
editing environment. -->
<!ENTITY % wp "WordPerfect" >
<!ENTITY % corel "Corel Corporation" >
<!-- General entities appear in the "Text References" or "File References"
dialogs in Corel WordPerfect 9. -->
<!ENTITY wpcorel "%wp;, from %corel;" >
<!ENTITY wpwin8 "WordPerfect for Windows 8" >
<!-- The following parameter entity declarations (and their accompanying
references later in this DTD) incorporate the PUBLIC character entity
sets for ISO characters into this DTD. When you create an SGML template
file from this DTD, the DTD Compiler utility maps each entity name
to an external file by matching the entity's PUBLIC identifier with a
filename in the "catalog entry file". -->
<!-- Declare an external entity for each ISO 8879 character entity set -->
<!ENTITY % isolat1 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" >
<!ENTITY % isolat2 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" >
<!ENTITY % isogrk1 PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN">
<!ENTITY % isogrk2 PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN">
<!ENTITY % isocyr1 PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN">
<!ENTITY % isocyr2 PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN">
<!ENTITY % isonum PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN">
<!ENTITY % isodia PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN">
<!ENTITY % isopub PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN">
<!ENTITY % isobox PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN">
<!ENTITY % isotech PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN">
<!ENTITY % isogrk3 PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN">
<!ENTITY % isogrk4 PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN">
<!ENTITY % isoamso PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN">
<!ENTITY % isoamsb PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN">
<!ENTITY % isoamsr PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN">
<!ENTITY % isoamsn PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN">
<!ENTITY % isoamsa PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN">
<!ENTITY % isoamsc PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN">
<!-- Reference (parse through) each ISO 8879 character entity set -->
%isolat1;
%isolat2;
%isogrk1;
%isogrk2;
%isocyr1;
%isocyr2;
%isonum;
%isodia;
%isopub;
%isobox;
%isotech;
%isogrk3;
%isogrk4;
%isoamso;
%isoamsb;
%isoamsr;
%isoamsn;
%isoamsa;
%isoamsc;
<!-- Bring in WP characters (in sets 1, 3-9) with no ISO 8879 counterparts -->
<!ENTITY % wpchars PUBLIC "-//Corel//ENTITIES WP 6.1 Characters (Non-ISO 8879)//EN" "wpchars.ent">
%wpchars;
<!-- Elements appear in the "Valid Tags" and "All Tags" lists in the
"Elements" dialog. -->
<!-- NAME OMIT CONTENT MODEL -->
<!ELEMENT sample2 - - (orgroup, andgroup) >
<!ELEMENT orgroup - - (oritem1 | oritem2) >
<!ELEMENT andgroup - - (anditem1 & anditem2) >
<!ELEMENT (oritem1, oritem2, anditem1, anditem2)
- - (#PCDATA) >
<!-- Attributes values may be entered while inserting a start tag for
the associated element. You may also edit the attributes in an
existing start tag at any time. -->
<!ATTLIST orgroup
attrib-1 (a|b|c) b
attrib-2 CDATA "data data data"
attrib-3 ID #REQUIRED
attrib-4 IDREF #CONREF
attrib-5 NAME #FIXED Corel
attrib-6 NMTOKEN #CURRENT
attrib-7 NUMBER 12345
attrib-8 NUTOKEN #IMPLIED
attrib-9 NUTOKENS "1sttoken 2ndtoken" >
]>