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


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: [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-----


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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