XML Schema: how to have multiple identical elements?

前端 未结 2 1182
旧巷少年郎
旧巷少年郎 2021-01-19 14:08

I\'m having quite a hard time on constructing my 1st XML Schema. I need it to verify the correctness of an XML document that forms a questionnaire.
So here\'s the sectio

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-19 14:37

    I don't know, what should be validated exactly, but the following xml schema would validate for three value tags within a values tag within a root tag. The values has to be strings:

    
    
      
        
          
            
          
        
      
      
        
          
            
          
        
      
    
    

提交回复
热议问题