XML technologies / DocBook / Conditional elements (profiling) / Why use profiling?
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
Profiling adds a mechanism to your processing pipeline and is useful only when these conditions hold:
You need more than one variant of a document. A variant is a subset of the original document. Examples follow below.
There are few differences between variants. Few means that the document has a core nearly identical in all variants.
Plan profiling while writing. Adding it to completed documents is possible but takes effort. The following examples show useful applications:
You document software installation on different operating systems, as demonstrated in the following sections. The core is shared, with operating-system-specific sections.
You write a guide for different manufacturers. Its core is identical, but some sections may be read only by the respective manufacturer.
You write for different audiences, such as candidates/examiners or beginners/experts.
A document needs different safety notices, for example for administrators and regular users.
You are preparing a training manual with sections of different difficulty levels.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top