This is often requested for HTML, for example.
Well, it could also have other changes. As long as you have a mapping
between good old ugly SGML :-), you're OK. But that mapping has to be
sacrosanct, so that older documents can still be read in 100 years' time,
the single most important promise (I claim) of SGML.
So then you could do
\
\Age of Applicant\
\appl.age\
\
\
\numeric\
\
\
\
instead of
\
\
\
(or using HyLex)
In general, I prefer using a single syntax. You don't actually need
all these syntactic forms that interact with each other.
Attributes can be modelled as elements just as efficiently.
One difficulty is that there's no scoping -- I'd like to be
able to say something like (I'll revert to DTD syntax for familiarity):
\
\
to specify that a \ element has different content in different places.
But what I'd end up with after all this wouldn't be SGML any more.
Perhaps the best thing about SGML is that it's SGML, a standard.
Lee
--
Liam Quin, SoftQuad Inc +1 416 239 4801 lee@sq.com
HexSweeper NeWS game;OPEN LOOK+XView+mf-fonts FAQs;lq-text unix text retrieval
\ SoftQuad Panorama, HoTMetaL, Services, SGML tools
`The future holds promise for those who have faith in it' [Inglis billboard]