xslt to remove duplicates entries using Muenchian grouping

后端 未结 1 1208
予麋鹿
予麋鹿 2021-01-24 12:46

I am trying to display all s of node. But I don\'t want to display duplicate entries of department from

1条回答
  •  心在旅途
    2021-01-24 13:40

    You need a second level of Muenchian grouping - you already have a key that finds unique company names, you now need a second key that finds unique company-department pairs:

    
        
    
        
        
    
        
            
                
                    
                        
                    
                    
                        
                    
                
            
        
    
        
            
            

    This filters the list of all company elements matching the current companyname so you just get the first mention of each department.

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