Only change required XML

Refs #10299