Formatting string (Removing leading zeros)

后端 未结 8 2194
鱼传尺愫
鱼传尺愫 2021-01-11 10:07

I am newbie to xslt. My requirement is to transform xml file into text file as per the business specifications. I am facing an issue with one of the string formatting issue.

8条回答
  •  梦谈多话
    2021-01-11 10:52

    You could use a recursive template that will remove the leading zeros:

    
        
        
            
                
                    
                
            
            
                
            
        
    
    

    Invoke it like this:

     
            
        
    
    

提交回复
热议问题