How to reference element in other XSD's namespace?

后端 未结 1 379
北海茫月
北海茫月 2021-01-25 01:31

I have a complexType that\'s defined across two .XSD files.

Parent.xsd:




        
1条回答
  •  猫巷女王i
    2021-01-25 02:04

    If you want the first embedded to be in the urn:Embedded namespace along with the second embedded, you can move it there via xs:element/@ref:

    Parent.xsd

    
    
    
      
    
      
        
          
            
          
        
      
    
    

    Embedded.xsd

    
    
    
      
    
      
        
          
          
        
      
    
    

    XML

    
    
      
        12
        
          5
        
      
    
    

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