<?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">

  <!-- The directory DTD and stylesheet files are installed under -->
  <group  xml:base="file:///usr/share/sgml/" >

    <!-- Resolve DTD URL system ID to local file -->
    <rewriteSystem
        systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/"
        rewritePrefix="db42xml/" />
    <!-- Resolve stylesheet URL to local file -->
    <rewriteURI
        uriStartString="http://docbook.sourceforge.net/release/xsl/current/"
        rewritePrefix="docbook/docbook-xsl/" />

    <!-- Resolve DTD PUBLIC identifiers -->
    <nextCatalog  catalog="db42xml/catalog.xml" />

    <!-- To resolve simple DTD SYSTEM identifiers. -->
    <!-- Note: this does not work with Java resolver -->
    <!--   classes in Saxon or Xalan -->
    <system
         systemId="docbook.dtd"
         uri="db42xml/docbookx.dtd" />

    <!-- To resolve short stylesheet references -->
    <uri
        name="docbook_html.xsl"
        uri="docbook/docbook-xsl/html/docbook.xsl" />
    <uri 
        name="docbook_chunk.xsl"
        uri="docbook/docbook-xsl/html/chunk.xsl" />
    <uri
        name="docbook_fo.xsl"
        uri="docbook/docbook-xsl/fo/docbook.xsl" />

  </group>

</catalog>
