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] What is Tag Soup?

[ 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




 

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

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