docbook: DocBook XML HOWTOs in the LDP collection
Subject:
Re: DocBook XML HOWTOs in the LDP collection
From:
"Greg Ferguson" ####@####.####
Date:
22 May 2001 13:58:13 -0000
Message-Id: <10105220951.ZM18618@hoop.timonium.sgi.com>
On May 21, 10:17pm, Gregory Leblanc wrote:
> Subject: Re: DocBook XML HOWTOs in the LDP collection
> On 21 May 2001 15:48:41 -0400, Dan Scott wrote:
> > Hmm, I decided to expand my DocBook XML processing with Xalan
> > experiments to include the other HOWTOs in the LDP collection
> > that use DocBook XML (the XML-RPC HOWTO and the JavaStation HOWTO).
> >
> > It turns out that both of those HOWTOs are missing the system
> > identifier; that is, they both declare:
> >
> > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
> > [ ... entities ... ]>
> >
> > rather than:
> >
> > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
> > "http://docbook.org/xml/4.1.2/docbookx.dtd"
> > [ ... entities ... ]>
>
> Ugh, yes, the system identifier is required. You may find that
> processing is faster if you keep a copy of the DTD locally, although
> it makes that system identifier not sure to work elsewhere...
There's another way to do this that works quite nicely - keeping the
URI-style system identifier in the document, a publisher can
specify "OVERRIDE YES" in a referenced catalog file - this triggers
the use of a local instance.
In fact, Dan (Scott) and I used this in publishing his XML document
as part of the LDP collection.
--
r,
Ferg