XSLT Concat fields together

后端 未结 1 762
生来不讨喜
生来不讨喜 2021-01-19 02:17

i am trying to filter on a specific field and concat on another field:

Input:



    &         


        
1条回答
  •  庸人自扰
    2021-01-19 02:51

    Use this template:

    
        
        
        
    
        
            
                
                
                
                    
                        
    
                        
                            ,
                        
                    
                
            
        
    
        
    
        
            
                
            
        
    
    

    When applied to provided input XML, it outputs wanted correct result:

    
      
        michael
        brown
        1,2,3
      
    
    

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