In the world of XML and web development, there are a lot of different technologies that can be used to traverse different types of information. There are several reasons why ID is preferred than XPath.