XML Element

In this tutorial you will learn about the XML Element and its application with practical example.

The XML Element is combination of opening-tag, data and closing-tag . The data may be plain text or child elements, or a combination of text and child elements. An XML Document is consist of a tree of XML Elements with a single root element as shown below.

Syntax:

Example:

 

In this tutorial we have learn about the XML Element and its application with practical example. I hope you will like this tutorial.