Re: am I understanding this correctly?

Jeff Rafter wrote ..

>  > do I understand this correctly?
> 
> Yes, but why not change it to:
> 
>     <xs:complexType name="groupingAndChildrenNodes">
>       <xs:choice maxOccurs="unbounded" minOccurs="0">
>         <xs:element ref="Anchor"/>
>         <xs:element ref="Background"/>
>         [...]
>       </xs:choice>
>     </xs:complexType>
> 
> In DTD, your existing model is ((Anchor | Background))* but with the 
> above change it would be (Anchor | Background)* which has one less step
> of indirection.

hi Jeff...

would this formulation allow me to have
for example
more than one Anchor 
in the same groupingAndChildrenNodes??

thanks for the help
jeffs

--
Jeff Sonstein
Assistant Professor
Department of Information Technology
Rochester Institute of Technology
--------------------------------------------
[RIT]            http://www.it.rit.edu/~jxs/
[Personal]     http://ariadne.iz.net/~jeffs/
[PGP] http://ariadne.iz.net/~jeffs/jeffs.asc
[Project]                  http://xvrml.net/
--------------------------------------------
There are no bugs
there are just undocumented features

Received on Saturday, 29 January 2005 13:30:24 UTC