[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Suggestion needed...
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 ----------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]