• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » XQuery 3.0 : The Query and Functional Programming Language

By Abhishek Ghosh May 6, 2014 10:20 pm Updated on May 6, 2014

XQuery 3.0 : The Query and Functional Programming Language

Advertisement

XQuery 3.0 is the latest version of XQuery. XQuery is the XML query language and refers to W3C specified query language for XML databases. XQuery 1.0 became a W3C Recommendation on January 23, 2007 and XQuery 3.0 became a W3C Recommendation on April 8, 2014. XQuery uses XSLT, SQL and C ajar syntax; uses XPath and XML schema for its data model and its function library. XQuery is derived from the languages ??XQL, XML-QL and Quilt.

 

Basics on XQuery 3.0 and XQuery

 

XQuery is a query language designed for data collections in XML. Is semantically similar to SQL , but includes some programming capabilities. XQuery provides the means to extract and manipulate information from XML documents or any data source that can be represented using XML, for example, relational databases or office documents. XQuery expressions uses XPath to access certain parts of the XML document. It adds, similar to those used in SQL, known as FLWOR expressions. The FLWOR expressions are named after the 5 types of sentences that can be composed: FOR, LET, WHERE, ORDER BY, and RETURN.

It also includes the ability to build new XML documents from the query results. It may use an XML-if the structure (elements and attributes) is known in advance or can be used dynamically to construct expressions. All these constructs are defined as expressions in the language, and can be arbitrarily nested. The language is based on the model tree information in the XML document, which consists of seven different types of nodes: elements, attributes, text nodes, comments, processing instructions, namespaces and document nodes.

Advertisement

---

The type system used by the language considers all values ??as strings, assuming a single value as a sequence of a single element. The elements of a sequence can be atomic values ??or nodes. Atomic values ??may be integers, strings, booleans, numbers etc. The complete list of available types is based on the primitives defined in XML Schema.

XQuery 3-0

XQuery 1.0 does not include the ability to update XML documents. Nor can perform text searches. Higher-order functions first appeared in the drafts for XQuery 3.0

 

Applications and Implementations of XQuery 3.0

 

  1. Extracting information from a database for use in a web service.
  2. Generating summary reports on data stored in a XML database.
  3. Searching textual documents on the Web for relevant information and compiling the results.
  4. Selecting and transforming XML data to XHTML to be published on the Web.
  5. Pulling data from databases to be used for the application integration.
  6. Splitting up a XML document that represents multiple transactions into multiple XML documents.

 

Although XQuery was initially conceived as a query language for large collections of XML documents, it is also capable of transforming individual documents. As such, its capabilities overlap with XSLT, which was designed expressly to allow input XML documents to be transformed into HTML or other formats. BaseX, eXist, Saxon, Sirix, XQilla, Zorba are example projects, live demo can be found here :

 

Vim
1
http://www.zorba.io/html/demo

 

This xml file :

 

Vim
1
http://www.ibiblio.org/xml/examples/shakespeare/hamlet.xml

 

can be converted to HTML with XQuery 3.0 :

 

Tagged With XQuery Extracting information from a database for use in a web service example

This Article Has Been Shared 401 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to XQuery 3.0 : The Query and Functional Programming Language

  • WiFi versus Ethernet

    To know a little basic about WiFi and Ethernet technology might has interested many of you. Here is summary about WiFi and Ethernet.

  • Geolocation Basics

    Geolocation is the geographical origin identification of a person or object. IP addresses are frequently used in Analytics on web as a metric for Geolocation.

  • SVN or Apache Subversion : What is SVN and How it Works

    SVN or Apache Subversion is a free software for version control of files and directories for Open Source Software distribution and used by hosts like WordPress.

  • HTTP 2.0 : What Changes Are Expected With the New Standard

    What Changes Can Be Expected With the New Standard HTTP 2.0? This HTTP 2.0 is the next major release of HTTP Protocol used by WWW.

  • HTML5 accessKey Property : Keyboard Shortcut Guide

    HTML5 accessKey property is an accessibility attribute. The access key is an element which enables the user to press a key to jump or perform action.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023

About This Article

Cite this article as: Abhishek Ghosh, "XQuery 3.0 : The Query and Functional Programming Language," in The Customize Windows, May 6, 2014, March 30, 2023, https://thecustomizewindows.com/2014/05/xquery-3-0-query-functional-programming-language/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT