On Tue, 24 Oct 2006 18:26:37 +0200, MichaelB <borg42@web.de> wrote: > What is the use of this complex construct?: > > <!-- content model is %head.misc; combined with a single > title and an optional base element in any order --> > > <!ELEMENT head (%head.misc;, > ((title, %head.misc;, (base, %head.misc;)?) | > (base, %head.misc;, (title, %head.misc;))))> > > Wouldn't this one be simpler? > > <!ELEMENT head (title|%head-misc;|base?)> No, because it says something different. The first one says that a head consists of head.misc with exactly one title somewhere in it, and at most one base somewhere within it. Your simpler one says that the head is a title, or an optional base or head.misc. Best wishes, Steven PembertonReceived on Monday, 30 October 2006 14:31:33 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:32:00 GMT