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