forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Wheller <s...@inwords.co.za>
Subject Re: Catalog for Docbook Plugin
Date Tue, 26 Oct 2004 07:35:00 GMT
On Tuesday 26 October 2004 09:17, Sean Wheller wrote:
> In XML Catalogs the <group/> has @xml:base
>
> <group xml:base="file:///path/to/forrest/plugins/docbook/resources/"/>
>
> I have Knowing the "path/to/" since I am not in control of the
> installation. I was wondering if there is a way to add the "path/to/" on
> the "pwd" during the build.
>
> Now this is only required when installing the Docbook plug-in. The
> catalog.xml is located in "plugins/docbook/catalog.xml" and needs to be
> modified when the plug-in is installed. Either the user can do this, or the
> install build can do this.
>
> Any ideas what is best?

So people can understand better, here is the catalog.xml for the docbook 
plug-in

<?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">
    
    <group prefer="system" 
xml:base="file:///path/to/forrest/plugins/docbook/resources/">
        
        <!-- Resolve DTD URL system ID to local -->
        <rewriteSystem 
systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/"
            rewritePrefix="schema/4.2/"/>
        
        <rewriteSystem 
systemIdStartString="http://www.oasis-open.org/docbook/xml/4.3/"
            rewritePrefix="schema/4.3/"/>
        
        <!-- Resolve XSL URL to local -->
        <rewriteURI 
uriStartString="http://docbook.sourceforge.net/release/xsl/current/"
            rewritePrefix="stylesheets/1.66.1/"/>
        
        <!-- Resolve DTD Public Identifiers -->
        <nextCatalog catalog="schema/4.2/catalog.xml"/>
        <nextCatalog catalog="schema/4.3/catalog.xml"/>
        
    </group>
    
</catalog>
-- 
Sean Wheller
Technical Author
sean@inwords.co.za
http://www.inwords.co.za

Mime
View raw message