[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Thomas B. Passin" <tpassin@h...>
  • To: xml-dev@l...
  • 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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member