[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A readable schema language ?
- From: "Thomas B. Passin" <tpassin@home.com>
- To: xml-dev@lists.xml.org
- Date: Mon, 18 Jun 2001 08:33:22 -0400
I'm always interested in fonding more readable ways to represent document
structure. Your effort certainly seems interesting. I can't see one thing,
though. In your <schema:choice>, nothing seems to delimit each individual
optional item. How can I know when one choice ends and the next starts?
It's not that each immediate child of <schema:choice> becomes one of the
alternatives, is it? If that were so,
<b><schema:ref name="paragraphContent"/></b>
could not be one of the choice items, since it's second element is also an
immediate child of the <schema:choice> element.
I think you need a <schema:item> element to delineate them.
[Nicolas LEHUEN]
> <schema:choice>
> <schema:text/>
> <b><schema:ref name="paragraphContent"/></b>
> <!-- etc. -->
> </schema:choice>
Cheers,
Tom P