adding xmlns and xmlns:xlink attributes if they don't exist