How do I prevent duplicates, in XSL?

后端 未结 6 645
长发绾君心
长发绾君心 2021-01-02 12:32

How do I prevent duplicate entries into a list, and then ideally, sort that list? What I\'m doing, is when information at one level is missing, taking the information from

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-02 13:12

    A truly XSLT 2.0 solution, also quite short:

    
      
    
      
        
          
        
      
    
      
        
          
    
          
            
              
            
          
    
          
            
              
            
          
          
        
      
    
    

    Do note:

    1. The use of types avoids the need to specify the data-type in .

    2. The use of the separator attribute of

提交回复
热议问题