This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Docbook XML - including files
- To: Bob Stayton <bobs at caldera dot com>
- Subject: Re: DOCBOOK-APPS: Docbook XML - including files
- From: Yann Dirson <ydirson at alcove dot fr>
- Date: Thu, 02 Aug 2001 10:17:26 +0200
- Cc: docbook-apps at lists dot oasis-open dot org, robert dot collins at itdomain dot com dot au
- References: <10108011322.aa20890@mammoth.ca.caldera.com>
On Wed, Aug 01, 2001 at 01:22:56PM -0700, Bob Stayton wrote:
> This issue of a single DOCTYPE comes up again when you try
> to edit the modular files (the system entities). I would
> prefer to use a validating editor that loads the DTD when
> editing a modular file. But I can't hsve a DOCTYPE
> declaration in the modular file to identify the DTD.
> If I add it, then the parse of the main document
> fails when the modular file is read as a system entity.
What you could do is using the "concatenate" feature of the validator
(again, here the example uses SGML - I hope it works for XML)
$ cat VALIDATE.section
<!doctype section PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
$ nsgmls -s VALIDATE.section mymodule.sgml
--
Yann Dirson <Yann.Dirson@fr.alcove.com> http://www.alcove.com/
Free-Software Engineer Ingénieur Logiciel-Libre
Free-Software time manager Responsable du temps Informatique-Libre
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org