Can someone help me understand what exactly is the diffrence between SQL/XML and XPath? Are they same?

Recommended Answers

All 2 Replies

Can someone help me understand what exactly is the diffrence between SQL/XML and XPath? Are they same?

SQL (Structured Query Language) is a standardized language for querying and working with Databases and their constituent data.

XML (eXtensible Markup Language) is a language for structuring data in a generic way like:

<Employee>
<Name>
<Firstname> Robert </Firstname>
<Lastname> Jones </Lastname>
</Name>
<Address>
<Street>43 Johnson Road </Street>
<City> Lincoln </City>
<State> Nebraska </State>
<Zip> 28374 </Zip>
</Address>
</Employee>

XPATH is a tool for finding the location of an element in a bunch of XML or HTML.

bigtiny

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.