This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: DOCBOOK: Re: website dtd newbie
- From: Bob Stayton <bobs at caldera dot com>
- To: alexl at socrates dot berkeley dot edu, docbook-apps at lists dot oasis-open dot org
- Date: Fri, 23 Nov 2001 16:48:15 -0800 (PST)
- Subject: Re: DOCBOOK-APPS: Re: DOCBOOK: Re: website dtd newbie
- List-id: <docbook-apps.lists.oasis-open.org>
> From: Alex Lancaster <alexl@socrates.berkeley.edu>
>
> >>>>> "NW" == Norman Walsh <ndw@nwalsh.com> writes:
>
> [...]
>
> NW> | It's not a catalog problem, it's an <xsl:import> element in the
> NW> | stylesheets:
[stuff deleted]
> Should this be expected to work for SGML catalogs? I tried the
> following mapping of system id to system id (analogous to the XML
> version) in my SGML catalog:
>
> SYSTEM "http://docbook.sourceforge.net/release/xsl/snapshot/html/docbook.xsl" "file:///home/alex/packages/share/sgml/docbook-xsl-1.46-experimental"
>
> Is this the correct syntax?
No, it looks like you are mapping a URI for a specific file
to a directory. You need to map it to the exact stylesheet file
you are importing.
When I use your example with a customization like yours,
it works with xsltproc. But be aware that there was a
version of xsltproc (actually libxml2) that was broken
regarding catalogs. I'm using libxml2-2.4.10 and
libxslt-1.0.7.
bobs
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