There are some expressions of X-path given as:-
- node-name : Selects all child nodes of the named node.
- / : Select from the Top(root) node.
- // : Select nodes in the document from the current node that match the selection no matter where nodes are.
- . : Select the current node.
- .. : Select the parent of the current node.
- @ : Select attributes.