[
Lists Home |
Date Index |
Thread Index
]
Sean McGrath scripsit:
> In XML DTDs, its a bit simpler but still pretty horrid:
> <!ELEMENT foo (A|B|C...)*>
Indeed, I am in process of developing a schema language in which the
only allowed content models are of this form:
model1 = elementa | elementb | elementc ...
model2 = elementa | elementd | ...
elementa = element elementa {model1 | ...}*
elementb = element elementb {model2 | text | ...}*
I.e., a named model is a choice between named elements, and a
named element contains an optional choice group involving named models
and possibly #PCDATA.
What's the point? That will appear.
--
And through this revolting graveyard of the universe the muffled, maddening
beating of drums, and thin, monotonous whine of blasphemous flutes from
inconceivable, unlighted chambers beyond Time; the detestable pounding
and piping whereunto dance slowly, awkwardly, and absurdly the gigantic
tenebrous ultimate gods -- the blind, voiceless, mindless gargoyles whose soul
is Nyarlathotep. (Lovecraft) John Cowan|jcowan@reutershealth.com|ccil.org/~cowan
|