2.7 XQL-XML Query Language

 < Day Day Up > 



Just when you thought there were no other XML derivatives, another appears called XML Query Language, or XQL.

XQL is very similar to XSL Patterns. It uses XML as its data model and XPath as the language to create expressions or manipulate numbers and strings. The useful part of XQL is its versatility, as it can be used to build expressions as part of a URL, XML, or HTML object. For example, here is an XPath query that will search for bookstores that have a legal speciality:

 /bookstore[@specialty = "legal"]  

Or, in this example, the query will search for every XML element that is called code.

 //author  

As you no doubt can see, XML has revolutionized the way that data is managed across the Internet. Innovations around XML are set to continue, all designed to make the sharing of data easier than it has ever been.



 < Day Day Up > 



Microsoft  .NET. Jumpstart for Systems Administrators and Developers
Microsoft .NET: Jumpstart for Systems Administrators and Developers (Communications (Digital Press))
ISBN: 1555582850
EAN: 2147483647
Year: 2003
Pages: 136
Authors: Nigel Stanley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net