Mercurial > hg > xemacs-beta
comparison lisp/psgml/catalog.sgml @ 0:376386a54a3c r19-14
Import from CVS: tag r19-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:45:50 +0200 |
parents | |
children | ac2d302a0011 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:376386a54a3c |
---|---|
1 | |
2 <!doctype example [ | |
3 <!element example - - (front, body) > | |
4 <!element front - - (titlegrp) > | |
5 <!element titlegrp - - (title, subtitle*)> | |
6 <!element body - - (p|lit)* > | |
7 <!element p - - (#PCDATA|keyword|list)* > | |
8 <!element (title|subtitle|keyword|lit) - - (#PCDATA) > | |
9 <!element list - - (item*) > | |
10 <!element item - - (p*) > | |
11 ]> | |
12 | |
13 <example> | |
14 <front> | |
15 <titlegrp> | |
16 <title>Entity Management</title> | |
17 <subtitle>Excerpts from: SGML Open Technical Resolution 9401:1995</subtitle> | |
18 </titlegrp> | |
19 </front> | |
20 <body> | |
21 <p>An entry in the catalog is interpreted as follows:<list> | |
22 <item><p>The PUBLIC keyword indicates that an entity manager should use the | |
23 associated <keyword>storage object identifier</keyword> to locate the entity | |
24 text for an entity with the specified public identifier.</p></item> | |
25 <item><p>The ENTITY keyword indicates that an entity manager should use the | |
26 associated <keyword>storage object identifier</keyword> to locate the entity | |
27 text for an entity with the entity name specified by the <keyword>entity name | |
28 spec</keyword>.</p></item> | |
29 <item><p>The DOCTYPE keyword indicates that an entity manager should | |
30 use the associated <keyword>storage object identifier</keyword> to | |
31 locate the entity text (to be used as the external subset) for a | |
32 doctype declaration whose document type name is specified by the | |
33 <keyword>entity name spec</keyword>.</p></item> | |
34 <item><p>The LINKTYPE keyword indicates that an entity manager should use | |
35 the associated <keyword>storage object identifier</keyword> to locate the | |
36 entity text (to be used as the external subset) for a linktype declaration | |
37 whose link type name is specified by the <keyword>entity name spec</keyword>. | |
38 </p></item> | |
39 <item><p>The SGMLDECL keyword indicates that an entity manager should use | |
40 the associated <keyword>storage object identifier</keyword> to locate the | |
41 entity text to be used as the SGML declaration.</p></item> | |
42 <item><p>The DTDDECL keyword indicates that an entity manager should | |
43 use the associated <keyword>storage object identifier</keyword> to | |
44 locate the entity text to be used as the SGML declaration. Note that | |
45 the <keyword>public identifier </keyword> in a DTDDECL entry is meant | |
46 to match a public identifier given as part of the doctype declaration | |
47 to reference the external subset.</p></item> | |
48 <item><p>The DOCUMENT keyword indicates that an entity manager should use | |
49 the associated <keyword>storage object identifier</keyword> to locate the | |
50 entity in which parsing begins.</p></item> | |
51 </list></p> | |
52 <p> | |
53 For example, the following are possible | |
54 catalog entries that associate a public identifier with an s.o.i.:</p> | |
55 <lit>PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml" | |
56 PUBLIC "-//USA/AAP//DTD BK-1//EN" "aapbook.dtd" | |
57 PUBLIC "-//ACME DTD Writers//DTD General Report//EN" "report.dtd"</lit> | |
58 </body> | |
59 </example> |