DocBook: The Definitive GuideBy Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM
Attributes appear as name-value pairs in the element's start-tag. For example, to assign the value hostname to the Role attribute of SystemItem, you would use the mark up:
"Cooked" data, as distinct from "raw," is a collection of elements and character data that's ready for presentation. The processor is not expected to rearrange, select, or suppress any of the elements, but simply present them as specified.
See Also: Raw.
- document type declaration (DTD)
Elements define the hierarchical structure of a document. Most elements have start and end tags and contain some part of the document content. Empty elements have only a start tag and have no content.
A name assigned (by means of a declaration) to some chunk of data so it can be referred to by that name; the data can be of various kinds (a special character or a chapter or a set of declarations in a DTD, for instance), and the way in which it is referred to depends on the type of data and where it is being referenced: SGML has parameter, general, external, internal, and data entities.
See Section 188.8.131.52.
- external entity
An external entity is a general entity that refers to another document. External entities are often used to incorporate parsable text documents, like legal notices or chapters, into larger units, like chapters or books.
- external subset
Element, attribute, and other declarations that compose (part of) a document type definition that are stored in an external entity, and referenced from a document's document type declaration using a public or system identifier.
Text objects like sidebars, figures, tables, and graphics are said to float when their actual place in the document is not fixed. For presentation on a printed page, for instance, a graphic may float to the top of the next page if it is too tall to fit on the page in which it actually falls, in the sequence of words and the sequence of other like objects in a document.
- formal public identifier
Formatting Output Specification Instance, an SGML document that specifies the appearance or presentation of another SGML document in accordance with the Output Specification DTD defined by MIL-STD-28001C.
- general entity
An entity referenced by a name that starts with an ampersand (&) and ends with a semicolon. Most of the time general entities are used in SGML documents, not in the DTD. There are two types, external and internal entities, and they refer either to special characters or to text objects like commonly repeated phrases or names or chapters.
Generic identifier, proper term for the actual name of an element; Para is the generic identifier of the para element.
See Section 184.108.40.206.
- internal entity
- internal subset
- parameter entity
An entity usually referenced in the DTD by a name that starts with a percent sign (%) and ends with a semicolon. In DocBook, parameter entities are mainly used to facilitate customization of the DTD, but they can also be used to control marked sections of a document.
- processing instruction
An essentially arbitrary string preceded by a question mark and delimited by angle brackets that is intended to convey information to an application that processes an SGML instance. For example, the processing instruction <?linebreak> might cause the formatter to introduce a line break at the position where the processing instruction occurs.<?pitarget param1="value1" param2="value2"?>
The pitarget should be a name that the processing application will recognize. Additional information in the PI should be added using "attribute syntax."
- public identifier
"Raw" data is just a collection of elements, with no additional punctation or information about presentation. To continue the cooking metaphor, raw data is just a set of ingredients. It's up to the processor to select appropriate elements, arrange them for display, and add required presentational information.
See Also: Cooked.
A file that specifies the presentation or appearance of a document; there are several standards for such stylesheets, including CSS, FOSIs, DSSSL, and, most recently, XSL. Vendors often have proprietary stylesheet formats as well.
- system identifier
Uniform Resource Identifier, the W3C's codification of the name and address syntax of present and future objects on the Internet. In its most basic form, a URI consists of a scheme name (such as file, http, ftp, news, mailto, gopher) followed by a colon, followed by a path whose nature is determined by the scheme that precedes it (see RFC 1630).
Uniform Resource Locator, a name and address for an existing object accessible over the Internet. http://www.docbook.org is an example of a URL (see RFC 1738).
Uniform Resource Name, the result of an evolving attempt to define a name and address syntax for persistent objects accessible over the Internet; urn:foo:a123,456 is a legal URN consisting of three colon-separated fields: urn followed by a namespace identifier, followed by a namespace specifier (see RFC 1737 and RFC 2141 for details).
The World Wide Web Consortium (http://www.w3.org/).
Some elements, such as Chapter, have important semantic significance. Other elements serve no obvious purpose except to contain a number of other elements. For example, BookInfo has no important semantics; it merely serves as a container for the meta-information about a book. Elements that are just containers are sometimes called "wrappers."
The Extensible Markup Language, a subset of SGML designed specifically for use over the Web.
Back to: DocBook: The Definitive Guide
© 2001, O'Reilly & Associates, Inc.