How add the 0 in before a number

I got this weird thing while parsing my XML, some of my ID in xml file has 01, 02, … 10

Flash remove the 0 before any unique integer such as 1, 2, 3… how can I add the 0 back?
When reach 10 it’s fine…