XML technologies / DocBook / Modular documents / Methods for splitting documents
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
In practice, splitting documents into smaller units containing a chapter, glossary, appendix or similar part has proved useful. The separate units are referenced in a master file. The master file is another DocBook file containing references to the units.
During processing, the files are combined and validated, and must form a valid DocBook document. There are two ways to reference units in the master file:
External entities: The oldest method, supported by every parser that fully implements the XML specification.
XIncludes: Elements from the XInclude specification are inserted in the document and resolved during processing.
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