XML technologies / DocBook / Customizing DocBook / Changing and adding attributes / Adding new attributes to all elements
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
To make the attribute proofreadfrom available for all elements, make the following customizations:
- DocBook 4
Follow the procedure Adding
proofreadfromtochapterfor DocBook 4, but in step 2, Inserting into the attribute list ofchapter, replace the original code with the following line:
<!ENTITY % local.common.attrib "%proofreadfrom.attrib;"> - DocBook 5
Follow the procedure Adding
proofreadfromtochapterfor DocBook 5, but in step 3, Extending the attribute list ofchapter, replace the original code with the following line:
db.common.base.attributes &= db.proofreadfrom.attribute?
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