XML technologies / DocBook / Modular documents / Why split documents?
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
Splitting a DocBook document into smaller files and combining them for publication has several advantages:
Smaller files let several authors work on a document simultaneously without interfering with one another.
Clear file organization and naming make the document easier to navigate.
Smaller files load faster in your editor.
More precise version control tracks files rather than the entire document.
Files can be generated or extended dynamically before assembly.
Reusable files are created once and can be referenced any number of times.
There are a few minor limitations. Files with cross-file references can be validated only as part of the assembled document. The reference cannot be resolved in an isolated file, causing a validation error that disappears when validating the complete document.
Cross-file references can also trouble XML editors that examine only the current file rather than the complete document. Unresolved anchor references then produce validation errors in the editor.
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