next up previous contents
Next: SGML Documents Up: Entities Previous: Parameter Entities

Marked Sections

In the DTD:

<!ENTITY % ENGLISH  "IGNORE">
<!ENTITY % ROMANIAN "INCLUDE">
<!ENTITY % SLOVENE  "IGNORE">

In the document:

<![ %ENGLISH [ 
<s>The hallway smelt of boiled cabbage and 
old rag mats.</s>
]]>

<![ %ROMANIAN [ 
<s>Holul blocului mirosea a varz&abreve; 
c&abreve;lit&abreve; &scedil;i a pre&scedil;uri 
vechi.</s>
]]>

<![ %SLOVENE [
<s>Ve&zcaron;a je smrdela po kuhanem zelju 
in starih, cunjastih predpra&zcaron;nikih.</s>
]]>

Modularisation in TEI (the Chicago Pizza model):

In the TEI DTD:

<![ %TEI.dictionaries [
<!ENTITY % TEI.dictionaries.dtd PUBLIC
 "-//Text Encoding Initiative//DTD
  P3 12.1: Base Tag Set for Printed Dictionaries//EN//"
>
%TEI.dictionaries.dtd;
]]>

When using it:

   <!ENTITY % TEI.dictionaries  "INCLUDE">



Tomaz Erjavec
1/9/2000