How do you test if an XML file is correct or not ?

Answer : Save the xml file with…

How do you test if an XML file is correct or not ?

  • Save the xml file with .xml extension and then open the xml in internet explorer.
  • If it’s a valid xml file it will show the structure otherwise will show the error.

Syntax Rules for XML Document

  • XML documents should have a root component.
  • XML parts should have a closing tag.
  • XML tags area unit case sensitive.
  • XML parts should be properly nested.
  • XML attribute values should be quoted.
Leave a Reply

Your email address will not be published.

You May Also Like