path and xpath and domaxpath


DOM and XPath are different concepts. DOM (Document Object Model) is a representation of a document or document fragment consisting of XML nodes arranged as a tree.

XPath is a syntax for expressing a navigation through a DOM to locate one or more nodes.