title: How to determine whether a given file is an xml valide file
body: <p>How to determine whether a given file is an xml valide file in JAVA?</p>
  
  <p>for example  :</p>
  
  <pre><code>bool valide = IsAnXMLFile(new File("file.txt"));
  </code></pre>
  
  <p>Thank's.</p>