XML technologies / DocBook / Conditional elements (profiling) / Applying multiple-profiling conditions
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
The previous section considered just one attribute value from one profiling attribute. What if two or more attributes must be considered? This book calls this multiple profiling.
There are two main types of multiple profiling:
A profiling attribute can have several values separated by semicolons (;), such as
linux;mac. This selects all elements related to Linux or Macintosh, or both, but not Windows, Solaris or other operating systems.Several profiling attributes are assigned one or more values. This applies if you want to select simultaneously all elements whose architecture (
arch) is i386 and i486 and whose operating system (os) is Linux and Unix.
The next two pages describe these cases.
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