Summing numbers with comma as decimal separator in XSLT?

前端 未结 3 1693
时光取名叫无心
时光取名叫无心 2020-12-04 00:41

I have an XML file where the number are comma-separated


  
  
  
         


        
3条回答
  •  眼角桃花
    2020-12-04 01:22

    Assuming the same as Dimitre, that you mean that comma is used as a decimal separator, not as a separator for list of integers.

    Pure XSLT 1.0 without EXSLT node-set extension:

    
      
        
      
    
    
    
      
      
      
        
          
            
            
          
        
        
          
        
      
    
    

提交回复
热议问题