OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Alternative to internal entities?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 15:50 29/4/04, Paul Heinlein wrote:
>If you use a tag like <variablereference/>, don't you lose the ability
>to validate your documents? Am I missing or misunderstanding
>something?

Sort of, and yes.

DocBook is really not intended to be used as-is; it's intended to be 
customized for your specific purposes.  That's why (in the DTD version) 
there are all those parameter entities.  With the XSDL version, it's a 
little trickier; you basically have to comment out or modify the 
definitions in the original DocBook schemas, and replace them with your own 
definitions, but the principle is the same.

In this case, for my clients, I've substantially modified the DocBook 
schema, so the use of this element is valid just about anywhere character 
data is allowed.  The front matter (basically bookinfo) has a few 
additional elements to allow storing the values of some of those variables 
(product version, etc.).

~Chris
- -- 
Christopher R. Maden, Principal Consultant, crism consulting
XML-SGML-HTML-DTDs-schemas-XSL-DSSSL-conversion-training-ebooks-B2B
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBQJIAf6xS+CWv7FjaEQJvsgCeKFEOMwjM1mgKFgTd34ccMOCuhgAAnRZP
2gf4yADZXmh/1JIMP6z1cnhM
=SCkI
-----END PGP SIGNATURE-----



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]