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


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: Defining ENTITYs in nested entity files


On Fri, Aug 09, 2002 at 10:14:55AM +0000, Matt G. wrote:
> First of all, this is an SGML/XML issue.  At least w/ regard to the XML 
> version of DocBook, the authors of the DTD can't do anything about the 
> behavior of entities.  They could add XInclude-like functionality, but 
> that's another discussion (check the archives).

The problem is similar with SGML.  Here there would be another
solution, which would be to use the sub-document feature of SGML,
which is not available in XML.  But (as using XInclude-like
functionality in XML, if you still want your documents to be valid),
this requires to extend the DTD.  There is an example of this (based
on the 3.1 DTD) in the docbook-dsssl source, under contrib/subdoc/,
but it is quite rough (see limitations in subdoc.dsl).

-- 
Yann Dirson <Yann.Dirson@fr.alcove.com>                 http://www.alcove.com/
Technical support manager                Responsable de l'assistance technique
Senior Free-Software Consultant          Consultant senior en Logiciels Libres
Debian developer (dirson@debian.org)                        Développeur Debian


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