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 proofreadfrom to chapter for DocBook 4, but in step 2, Inserting into the attribute list of chapter, replace the original code with the following line:

<!ENTITY % local.common.attrib "%proofreadfrom.attrib;"> 

DocBook 5

Follow the procedure Adding proofreadfrom to chapter for DocBook 5, but in step 3, Extending the attribute list of chapter, replace the original code with the following line:

db.common.base.attributes &= db.proofreadfrom.attribute? 

  

back to top