Move separator elements upwards in xml hierarchy

后端 未结 2 1341
耶瑟儿~
耶瑟儿~ 2021-01-03 11:49

I have an xml document with separators deep down in the hierarchy.


  
    
    
    

        
2条回答
  •  南方客
    南方客 (楼主)
    2021-01-03 12:12

    This transformation:

    
        
        
    
        
    
     
      
     
    
     
      
      
       
       
      
     
    
     
      
       
       
      
      
     
    
     
       
       
    
       
        
         
        
        
         
          
            
            
                   
                   
            
          
         
        
       
     
    
     
      
      
       
        
       
      
     
    
    

    when applied on the provided XML document:

    
      
        
        
        
      
      
        
        
      
      
        
      
    
    

    produces the wanted, correct result:

    
       
          
       
    
    
    
       
          
       
       
          
       
    
    
    
       
          
       
    
    

提交回复
热议问题