Here’s the brief desription about the Element Naming.


• XML elements must follow these naming rules:

• Names can contain letters, numbers, and other characters

• Names must not start with a number or punctuation character

• Names must not start with the letters xml (or XML or Xml ..)

• Names cannot contain spaces
XML Elements are Extensible

XML documents can be extended to carry more information.
Look at the following XML NOTE example:

Tove

Jani

Don’t forget me this weekend!

XML Elements have Relationships

Elements are related as parents and children.

Example

Introduction to XML

What is HTML What is XML

XML Syntax

Closing tag properly nested



XML Elements

• XML Elements are extensible and they have relationships.

• XML Elements have simple naming rules.
Comments in XML

• The syntax for writing comments in XML is similar to that of HTML.