Lists Home |
Date Index |
From: "Sean McGrath" <email@example.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:
> The inner element was inferred to be a sect2...or something like that!
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.