Better use of the XML file and XML file updated.

Can you add a flag instead of using the index for this parameter?
Thank you