There are following types of nodes in XPath. These nodes are related to each other to form a tree like structure. These nodes are :
* Parents
* Children
* Siblings
* Ancestors
* Descendents
For example :
<book>
<title>Parallel Algorithm</title>
<author>Sri Balaji</author>
<year>2016</year>
<price>180.00</price>
</book>