I need to drag and drop my simple xml file onto my form.
The xml file contains simple data like:

<fname>Xan Choly</fname>

On drop I need to parse the values and display them on the form.

Can someone please show me how to :
  1. check if drag dropped file is xml
  2. parse the values


Thanks for any help.