Tagged: XML

XML Rules

Following rules must be applied when working with XML:

  • Single, unique root element
  • Matching open/close tags
  • Consistent capitalisation
  • Correctly nested elements (no overlapping elements)
  • Attribute values enclosed in quotes
  • No repeating attributes in an element

Read more »

XML syntax

XML documents must contain a root element. All other elements must be nested within the root element.

All elements can have sub (children) elements. Elements with sub elements are also called Nodes.

Read more »

What is XML?

XML stands for eXtensible Markup Language
XML is a markup language like HTML
XML provides a uniform method for describing and exchanging structured data
Describes structure and semantics, not formatting
XML focuses on providing information about the data itself and how it relates to other data