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?


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.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

---------------------------------------------------------------------
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]