XML Tree

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

XML Document gives way to represent information in a structured and self describing manner. When we closely analyze an XML Document it forms a tree structure.

Table Of Contents

Lets take a look on an example XML Document

The first line is the XML declaration. It defines the XML version and the character encoding used.

Next to it is a root element “inbox” of XML body, there is one child element and three sub child element inside it, and after all there is closing tag of root element.

The terms parent, child, and sibling are used to describe the relationships between elements.

 

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