[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Docbook XML - including files
Yann Dirson wrote: > > 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 This works great in XML as well. Is there a way to set a local variable in PSGML for each file so just using the menu will add this to the command? Eric
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC