XPath - Nodes


Advertisements


In this chapter, we'll see the XPath expression in details covering common types of Nodes, XPath defines and handles.

S.No. Node Type & Description
1 Root

Root element node of an XML Document.

2 Element

Element node.

3 Text

Text of an element node.

4 Attribute

Attribute of an element node.

5 Comment

Comment



Advertisements