XML transformation class recoded