Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: am I understanding this correctly?

From: Bob Schloss <rschloss@--.---.--->
To: Jeff Sonstein <jeffs@--.---.--->, xmlschema-dev@--.---
Date: 1/27/2005 11:39:00 AM




Jeff,

      Your understanding is correct.

            Regards,
            Bob

Scalable XML Infrastructure
IBM Thomas J Watson Research Center
Hawthorne, New York, USA
http://www.research.ibm.com/XML




                                                                           
             Jeff Sonstein                                                 
             <jeffs@i...                                             
             >                                                          To 
             Sent by:                  xmlschema-dev@w...                
             xmlschema-dev-req                                          cc 
             uest@w...                                                   
                                                                   Subject 
                                       am I understanding this correctly?  
             01/27/2005 04:31                                              
             PM                                                            
                                                                           
                                                                           
                                                                           
                                                                           





I have a Schema I am finishing up
to express 3D as XML (an evolution of VRML97)

   http://www.xvrml.net/schemas/xVRML.xsd

in this Schema I declare a new complexType:

   <xs:complexType name="groupingAndChildrenNodes">
     <xs:sequence maxOccurs="unbounded" minOccurs="0">
       <xs:choice>
         <xs:element ref="Anchor"/>
         <xs:element ref="Background"/>
         [...]
       </xs:choice>
     </xs:sequence>
   </xs:complexType>

I understand this as meaning
"a sequence of as many choices as you want
  each choice made from the following list of possible choices"
so, for example, an element of type groupingAndChildrenNodes
could end up containing 2 Anchors and a Background and...

do I understand this correctly?

someone I was corresponding with was asserting
that this actually meant that any given choice from the list of choices
[say Anchor]
could be in a particular element of type groupingAndChildrenNodes
once and only once

thanks in advance for your help

jeffs

--
Jeff Sonstein, Assistant Professor
Department of Information Technology
Rochester Institute of Technology
==============================================
IT Dept Webspace:                       http://www.it.rit.edu/~jxs/
Blog:                          http://streamer.rit.edu/technobabble/
xVRML Project:                                  http://www.xvrml.net/
Public Key:                    http://ariadne.iz.net/~jeffs/jeffs.asc
Disclaimer:   http://www.it.rit.edu/~jxs/emailDisclaimer.html

"Power Corrupts.
  PowerPoint Corrupts Absolutely."
           -  Edward Tufte  -





From jeffs@i... Thu Jan 27 21:39:37 2005
Received: from lisa.w3.org ([128.30.52.41])
	by frink.w3.org with esmtp (Exim 4.34


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent