OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Re:DTD Design

[ Lists Home | Date Index | Thread Index ]

At 13:16 20/11/2002 -0500, John Cowan wrote:
>Sean McGrath scripsit:
>
> > Old-timers on the list will remember the RANK feauture of SGML which
> > allowed a single element type declaration to infer the creation
> > of a familiy of numbered elements types. So you could declare
> > SECT and have tagging for SECT1, SECT2, SECT3 etc.
>
>Were all of SECT1, SECT2 etc. identical as far as content model, attributes,
>etc.?

My memory is fuzzy on this. I believe you had to declare the elements like so:

<!ELEMENT sect 1 - O (...)>
<!ELEMENT sect 2 - O (...)>

But that if you had in the instance:
<sect1>
<sect>
</sect1>

The inner element was inferred to be a sect2...or something like that!

Rick?

Sean





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS