XSLT multiple string replacement with recursion

前端 未结 5 1556
花落未央
花落未央 2021-01-16 13:38

I have been attempting to perform multiple (different) string replacement with recursion and I have hit a roadblock. I have sucessfully gotten the first replacement to work

5条回答
  •  离开以前
    2021-01-16 14:08

    I modified the Dimitrie answer to put his solution in a template and using an exsl extension. Please check it, may be can be useful for someone.

    
    
        
        
            
                
                    0101 - Efectivo
                    0202 - Cheque nominativo
                    0303 - Transferencia electrónica de fondos
                    0404 - Tarjeta de Crédito
                    0505 - Monedero Electrónico
                    0606 - Dinero electrónico
                    0808 - Vales de despensa
                    2828 - Tarjeta de Débito
                    2929 - Tarjeta de Servicio
                    9999 - Otros
                
                 
            
                
                    
                    
                        
                    
                
            
        
        
            
            
            
                
                
                    
                        
                    
                    
                        
                    
                
                
                    
                    
                
            
        
    
    

提交回复
热议问题