How to make type depend on attribute value using Conditional Type Assignment

前端 未结 1 1057
暖寄归人
暖寄归人 2020-11-22 16:58

I have an XML file like this


  
    
    
  
  

        
1条回答
  •  旧时难觅i
    2020-11-22 17:06

    You can do this using XSD 1.1's Conditional Type Assignment:

    
     
      
        
          
            
                      
              
            
          
        
      
      
        
          
          
        
      
      
        
          
          
        
      
    
    

    0 讨论(0)
提交回复
热议问题