This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] Suggestion needed...
- From: Giuseppe Greco <giuseppe dot greco at agamura dot com>
- To: Oliver Fischer <plexus at snafu dot de>
- Cc: DocBook <docbook at lists dot oasis-open dot org>
- Date: 10 May 2003 19:10:31 +0200
- Subject: Re: [docbook] Suggestion needed...
- Organization:
- References: <1052556529.1048.12.camel@gonzo> <3EBD311C.6030005@snafu.de>
Oliver,
Thank you for your feedback!
Gius_.
On Sat, 2003-05-10 at 19:04, Oliver Fischer wrote:
> Hello Giuseppe,
>
> I think our way is ok. At least I would do the same.
>
> What you have done was to create a customisation layer.
>
> MfG
>
> Oliver
>
> Giuseppe Greco wrote:
> > Hi all,
> >
> > In our corporate documents, we need to automatically include
> > our standard legal notice, company info, logo etc.
> >
> > I accomplished that by creating a new DTD file to be used instead
> > of the standard DocBook one. This new DTD file looks like this:
> >
> > <!ENTITY % docbook PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
> > "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
> > <!ENTITY % l10n PUBLIC "-//AGAMURA//ENTITIES QuXo Localization
> > V1.0//en-US"
> > "http://www.agamura.com/xml/quxo/1.0/ent/l10n.ent">
> > <!ENTITY % copyright PUBLIC "-//AGAMURA//ENTITIES QuXo Copyright
> > V1.0//en-US"
> > "http://www.agamura.com/xml/quxo/1.0/ent/copyright.ent">
> > <!ENTITY % corpdata PUBLIC "-//AGAMURA//ENTITIES QuXo Corporation Data
> > V1.0//en-US"
> > "http://www.agamura.com/xml/quxo/1.0/ent/corpdata.ent">
> >
> > %docbook;
> > %l10n;
> > %copyright;
> > %corpdata;
> >
> > As you can see, it just includes the standard DocBook DTD and then
> > adds some additional entities...
> >
> > For example, %copyright; contains the legal notice and assert,
> > %corpdata; contains long and short company name, web site, etc...
> >
> > Well, I think this is the wrong place where to place entities like
> > these. They should be placed somewhere else and then accessed by
> > our customized DocBook stylesheets.
> >
> > What do you think about that? What do you suggest instead?
> >
> > Thanks,
> >
--
----------------------------------------
Giuseppe Greco
::agamura::
phone: +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email: giuseppe.greco@agamura.com
web: www.agamura.com
----------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org