This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie troubles with Docbook/XML + XHTML


On Fri, May 03, 2002 at 05:11:37PM +0100, John Levon wrote:
> On Fri, May 03, 2002 at 08:32:54AM -0400, Jeff Beal wrote:
> 
> > However, you can write a customization template to handle this (note that I
> > didn't get the XHTML DOCTYPE - I'm too lazy to look it up, and I don't have
> > it memorized)
> 
> Works a treat, thanks /very/ much. Now the only problem I have
> left is the xmlns thing, and I suppose a low-tech sed solution
> will do for that.
> 
> Although I do have another question (sorry !). Now I have my
> customisation xsl, I have a line like :
> 
> <xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl"/>
> 
> which means that anyone wanting to build the docs may need to hand-edit
> this to match their system. Is there a meta-solution to this problem ?
> Even if someone has an autoconf macro for discovering the stylesheets
> installation.
> 
> I'd rather not refer to a web address since it requires a net connection
> to build.

You can redirect the URL in the stylesheet file to
a different system location using an XML catalog.
See:

http://www.dpawson.co.uk/docbook/catalogs.html

Each user can have their own catalog file.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]