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?


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




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