Removing duplicates in xml with xslt

前端 未结 4 803
有刺的猬
有刺的猬 2021-01-06 01:08

I need to remove duplicates in the following xml:


          


        
4条回答
  •  长发绾君心
    2021-01-06 01:30

    This task can be easily achieved using standard grouping solutions. Do not use single select statements to do that which are well known to cause performance problems.

    Note The reference to identity.xsl just include into the stylesheet the well known identity transformation template.

    [XSLT 1.0]

    
    
        
    
        
    
        
            
                
                    
                
            
        
    
    
    

    [XSLT 2.0]

    
    
        
    
        
            
                
                    
                
            
        
    
    
    

提交回复
热议问题