The file you have selected does not have the ".xml" extension. If "%1" contains valid XML, you can still use it as a data ...