XML path correction