comparison lisp/psgml/catalog.sgml @ 2:ac2d302a0011 r19-15b2

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