[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: am I understanding this correctly?

From: Jeff Sonstein <jeffs@ariadne.iz.net>
Date: Sat, 29 Jan 2005 08:46:36 -0500 (EST)
To: lists@jeffrafter.com
Cc: xmlschema-dev@w3.org
Message-Id: <1107006396.69613@ariadne.iz.net>
iz net

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 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.