Requirements of a Query Language

Why Have an XML Query Language?

XML documents are structured documents that can be used for data storage or as traditional documents. Some are highly structured, with several levels of nesting and a rigid hierarchy. Others contain little more than a few primary headings. In any case, when an XML document is used for data, you need to access that data. In order to do that across several different platforms, and to maintain the promise of XML as a truly interoperable language, you need a consistent syntax to query that data in all types of applications.

XML as a Data Store

The obvious analog of XQL is SQL. To understand why XQL should be different from SQL, a brief summary of the differences between databases ...

Get XML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.