What is XPath Axes in XML

In this article I will explain what is XPath axis in Xml.
  • 1759

Introduction

An axis defines a node-set relative to the current node.An axis XPath is a path that go through the nodes and defines the relationships between the nodes,or we can say that the axis can store the information about the current node and the other nodes within the document.The information that is store in the axis is depand upon which type of axis we used, the axis is called "child" if it store the information about the children of the current node.

Example

child :: title

Where child shows the name of axis which is used to select all the children of the current node.The above expression select the node title but only when it is a child of the current node.

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.