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

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