XML formats attributes coming from an xml source in an xml validated way