XSLT Removing duplicates

前端 未结 4 1583
Happy的楠姐
Happy的楠姐 2020-12-17 04:54

I have an xml datasource which looks like this:


  
    
      

        
4条回答
  •  盖世英雄少女心
    2020-12-17 05:40

    The following stylesheet shows a general approach to grouping at multiple levels:

    
        
        
        
        
            
                
            
        
        
            
                
            
        
        
            
        
    
    

    It produces the following output on your input:

    
        
            HR
            SD
            MM
        
        
            HR
            SD
        
    
    
        
            SD
            MM
        
    
    

提交回复
热议问题