XPath
Just as SQL is used to retrieve specific sets of information from a database, XPath is used to retrieve specific sets of information from an XML document. XML houses and organizes information much like a database, but since SQL can't be used to query an XML document, it's up to the programmer to make sense of the data. Since XML is often used to exchange data between different computers, XPath was developed to make it easier for programmers to locate information within an XML document. |