Several SGML products are using the concept of components to assist in management of the data including authoring systems, database or repository managers, and viewers. Component Location and Definition Several factors can be taken into consideration when determining what elements within a document can be treated as components. In this example, a document is divided into one or more chapters. Chapters are divided into one or more sections. Sections are divided into one or more paragraphs.
Paragraphs are a block of text.
Titles are also attached to the document, chapters, sections and optionally to the paragraphs. The main factor in this decision is that users of the information may want to perform searches and receive the information in differing levels of granularity. One user may only be looking for a specific bit of information in a paragraph while another may want to read the entire chapter on a given subject. In this application, it has also been determined that the document title and chapter titles should also be managed as components to aid in the searching of the data. These keywords help to define the context of the elements that are to be treated as components.