Is there a query language for XML?

3

Is there a language that I can use to query an XML document and have result set returned. The same way I can use SQL to query a dtabase and get a result set?

user248162

Posted 2014-07-08T08:12:57.557

Reputation:

Answers

3

Yes, and it's called XPath:

XPath is a language for addressing parts of an XML document, designed to be used by both XSLT and XPointer.

DoeNietZoMoeilijk

Posted 2014-07-08T08:12:57.557

Reputation: 959

I've found something called XQuery: http://www.w3schools.com/xQuery/default.asp. Sounds like it might do what I need.

– None – 2014-07-08T08:22:59.157