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 ]

 From: "Sean McGrath" <sean.mcgrath@propylon.com>
 
> 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?
 
Don't ask me. I can understand how this would have been useful 
from 1986 to 1991 when your applications mightn't have had access to 
the ancestor stack,  but almost all processing systems (Xpath, CSS 
selectors, OmniMark, etc) from the earliest 90s did provide context information.
When I started in the late 80s, our little custom-LISP processor for SGML
kept a stack, so I escaped ever seeing RANK. 

I think Sean's DTD is correct.

Cheers
Rick 






 

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

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