Fix warning for overshadowing XML variable
Merge pull request #14515 from mzahir/fix_xml_warning

Fix warning for overshadowing XML variable