What are the basic rules while writing XML?

3 weeks ago

There are the basic rules for writing the XML:

  • All XML should have a root element
  • All tags should be closed
  • XML tags are case sensitive
  • All tags should be nested properly
  • Tag names cannot contain spaces
  • Attribute value should appear within quotes
  • White space is preserved 
Bench Partner
Sep 29, 2021

Questions Bank

View all Questions

Top