view 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
line wrap: on
line source


<!doctype example [
<!element example	- -	(front, body) >
<!element front		- -	(titlegrp) >
<!element titlegrp	- -	(title, subtitle*)>
<!element body		- -	(p|lit)* >
<!element p		- -	(#PCDATA|keyword|list)* >
<!element (title|subtitle|keyword|lit)	- - (#PCDATA) >
<!element list		- -	(item*) >
<!element item		- -     (p*) >
]>

<example>
<front>
<titlegrp>
<title>Entity Management</title>
<subtitle>Excerpts from: SGML Open Technical Resolution 9401:1995</subtitle>
</titlegrp>
</front>
<body>
<p>An entry in the catalog is interpreted as follows:<list>
<item><p>The PUBLIC keyword indicates that an entity manager should use the
associated <keyword>storage object identifier</keyword> to locate the entity
text for an entity with the specified public identifier.</p></item>
<item><p>The ENTITY keyword indicates that an entity manager should use the
associated <keyword>storage object identifier</keyword> to locate the entity
text for an entity with the entity name specified by the <keyword>entity name
spec</keyword>.</p></item>
<item><p>The DOCTYPE keyword indicates that an entity manager should
use the associated <keyword>storage object identifier</keyword> to
locate the entity text (to be used as the external subset) for a
doctype declaration whose document type name is specified by the
<keyword>entity name spec</keyword>.</p></item>
<item><p>The LINKTYPE keyword indicates that an entity manager should use
the associated <keyword>storage object identifier</keyword> to locate the
entity text (to be used as the external subset) for a linktype declaration
whose link type name is specified by the <keyword>entity name spec</keyword>.
</p></item>
<item><p>The SGMLDECL keyword indicates that an entity manager should use
the associated <keyword>storage object identifier</keyword> to locate the
entity text to be used as the SGML declaration.</p></item>
<item><p>The DTDDECL keyword indicates that an entity manager should
use the associated <keyword>storage object identifier</keyword> to
locate the entity text to be used as the SGML declaration. Note that
the <keyword>public identifier </keyword> in a DTDDECL entry is meant
to match a public identifier given as part of the doctype declaration
to reference the external subset.</p></item>
<item><p>The DOCUMENT keyword indicates that an entity manager should use
the associated <keyword>storage object identifier</keyword> to locate the
entity in which parsing begins.</p></item>
</list></p>
    <p>
For example, the following are possible
catalog entries that associate a public identifier with an s.o.i.:</p>
<lit>PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
PUBLIC "-//USA/AAP//DTD BK-1//EN" "aapbook.dtd"
PUBLIC "-//ACME DTD Writers//DTD General Report//EN" "report.dtd"</lit>
 </body>
</example>