Middle way between XSD all and XSD sequence

后端 未结 7 1931
故里飘歌
故里飘歌 2020-11-30 05:03

I\'m defining a user element with XSD. For this example, a user has a name, email and one or more nationalities. I\'ve tried:


  

        
7条回答
  •  天命终不由人
    2020-11-30 05:17

    Or, since "USER" will be set up with multiple child elements, why not set it up as a complex type? Something like this should work.

    
      
        
        
        
      
    
    

提交回复
热议问题