XPath is used to navigate through
-
different pages
-
none of these
-
files
-
elements and attributes
D
Correct answer
Explanation
XPath enables navigation through the hierarchical structure of XML elements and attributes. It uses path expressions to select nodes from an XML document, allowing precise targeting of specific elements or attributes within the tree structure.