XML technologies / DocBook / XML catalogs / XML catalogs modularization

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

Logically related URIs are often grouped in a single file and referenced from the main file. The reference is inserted using the element nextCatalog. This approach lets you place each DocBook version in a separate file, for example:

 

Example: Modular XML catalog file (nextCatalog.xml)

<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">   
   <nextCatalog catalog="docbook-4.2.xml"/>
   <nextCatalog catalog="docbook-4.3.xml"/>   
   <nextCatalog catalog="docbook-4.4.xml"/>    
   <nextCatalog catalog="docbook-4.5.xml"/>    
   <nextCatalog catalog="docbook-5.0.xml"/>   
</catalog>

  

back to top