This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] what's the value of the document type declaration?
- From: Daniel Veillard <veillard at redhat dot com>
- To: "Robert P. J. Day" <rpjday at mindspring dot com>
- Cc: docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 3 Jun 2003 13:20:34 -0400
- Subject: Re: [docbook-apps] what's the value of the document type declaration?
- References: <Pine.LNX.4.44.0306031249040.5877-100000@localhost.localdomain>
- Reply-to: veillard at redhat dot com
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 ℵ and ⊕,
> 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