Mike Jonson

Mike Jonson

  • NA
  • 239
  • 191.1k

An example of creating a custom exception to validate xml

Jul 26 2011 5:39 PM

I want  creating a custom exception to validate xml file.

Can you me show simple example for checking syntax or structure of xml file. For example:
<toolbar>
  <button id="btn1" img="C:\Users\Dima\Desktop\folder_open.png" text="Button 1" />
  <button id="btn2" img="C:\Users\Dima\Desktop\folder_open.png" text="Button 2"/>
 </toolbar>