use xml detection language to update xml part.