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] what's the value of the document type declaration?


At 13:20 03/06/2003 -0400, Daniel Veillard wrote:
On Tue, Jun 03, 2003 at 12:53:39PM -0400, Robert P. J. Day wrote:
>
>   got into a discussion last night with someone discussing
> docbook transformation (being the party animal that i am),
> and the question arose as to the value of the document type
> declaration at the top of the XML file.  you know:
>
>  <!DOCTYPE book ... blah blah ...>
>
>   while the declaration is, of course, useful for validation,
> it doesn't technically play a part in the actual transformation.
>
>   i pointed out the one value that it includes all of the extra
> entities, so that you can use things like &aleph; and &oplus;,
> and so on.
>
>   but beyond the inclusion of the addition entities, is there
> some other value for the declaration?  just curious.

  yes, attribute defaulting when default values are specified
in the DTD but the attributes are not present in the instance.


Most specifically, the id values that are used in the stylesheets
with the id() function IIRC.

It all falls apart for some instances without that.

regards DaveP



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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