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. Please help me out if you have any idea.
Here is the part of input xml data: "0001295"
Expected result to print into text file: 1295
My main issue is to remove leading Zeros. Please share if you have any logic/function.
You could use a recursive template that will remove the leading zeros:
Invoke it like this:
works for me