0
|
1 <!doctype example [
|
|
2 <!element example - - (front, body) >
|
|
3 <!element front - - (titlegrp) >
|
|
4 <!element titlegrp - - (title, subtitle*)>
|
|
5 <!element body - - (p|lit)* >
|
|
6 <!element p - - (#PCDATA|keyword|list)* >
|
|
7 <!element (title|subtitle|keyword|lit) - - (#PCDATA) >
|
|
8 <!element list - - (item*) >
|
|
9 <!element item - - (p*) >
|
2
|
10
|
|
11 <!ENTITY soi "<keyword>storage object identifier</keyword>">
|
|
12
|
0
|
13 ]>
|
|
14
|
|
15 <example>
|
2
|
16 <front>
|
|
17 <titlegrp>
|
|
18 <title>Entity Management</title>
|
|
19 <subtitle>Excerpts from: SGML Open Technical Resolution
|
|
20 9401:1995</subtitle>
|
|
21 </titlegrp>
|
|
22 </front>
|
|
23 <body>
|
|
24 <p>An entry in the catalog is interpreted as follows:<list>
|
|
25 <item><p>The PUBLIC keyword indicates that an entity manager
|
|
26 should use the associated &soi; to locate the entity text for an
|
|
27 entity with the specified public identifier.</p></item>
|
|
28 <item><p>The ENTITY keyword indicates that an entity manager
|
|
29 should use the associated <keyword>storage object identifier</keyword>
|
|
30 to locate the entity text for an entity with the entity name specified
|
|
31 by the <keyword>entity name spec</keyword>.</p></item>
|
|
32 <item><p>The DOCTYPE keyword indicates that an entity manager
|
|
33 should use the associated &soi; to locate the entity text (to be used
|
|
34 as the external subset) for a doctype declaration whose document type
|
|
35 name is specified by the <keyword>entity name
|
0
|
36 spec</keyword>.</p></item>
|
2
|
37 <item><p>The LINKTYPE keyword indicates that an entity manager
|
|
38 should use the associated &soi; to locate the entity text (to be used
|
|
39 as the external subset) for a linktype declaration whose link type
|
|
40 name is specified by the <keyword>entity name spec</keyword>.
|
0
|
41 </p></item>
|
2
|
42 <item><p>The SGMLDECL keyword indicates that an entity manager
|
|
43 should use the associated &soi; to locate the entity text to be used
|
|
44 as the SGML declaration.</p></item>
|
|
45 <item><p>The DTDDECL keyword indicates that an entity manager
|
|
46 should use the associated &soi; to locate the entity text to be used
|
|
47 as the SGML declaration. Note that the <keyword>public
|
|
48 identifier</keyword> in a DTDDECL entry is meant to match a public
|
|
49 identifier given as part of the doctype declaration to reference the
|
|
50 external subset.</p></item>
|
|
51 <item><p>The DOCUMENT keyword indicates that an entity manager
|
|
52 should use the associated &soi; to locate the entity in which parsing
|
|
53 begins.</p></item>
|
|
54 </list></p>
|
|
55 <p>For example, the following are possible catalog entries that
|
|
56 associate a public identifier with an s.o.i.:</p>
|
0
|
57 <lit>PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
|
2
|
58 PUBLIC "-//USA/AAP//DTD BK-1//EN" "aapbook.dtd" PUBLIC "-//ACME DTD
|
|
59 Writers//DTD General Report//EN" "report.dtd"</lit>
|
|
60 </body>
|
0
|
61 </example>
|
2
|
62
|
|
63
|
|
64
|
|
65 <!-- Keep this comment at the end of the file
|
|
66 Local variables:
|
|
67 sgml-exposed-tags:("title" "body")
|
|
68 End:
|
|
69 -->
|