Academic Tutorials



English | French | Portugese | German | Italian
Google

Home Source Codes E-Books Downloads Contact Us About Us

XQuery Tutorial
Xquery Introduction
XQuery Example
XQuery FLWOR Expressions
XQuery FLWOR +HTML
XQuery Terms
XQuery Syntax
XQuery Adding Elements and Attributes to the Result
XQuery Selecting and Filtering Elements
XQuery Functions
XQuery Summary

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


Introduction to XQuery
Previous Next


The best way to explain XQuery is to say that XQuery is to XML what SQL is to database table.

XQuery is designed to query XML data - not just XML files, but anything that can appear as XML, including database.




What is XQuery?

  • XQuery is the language for querying XML data only
  • XQuery for XML is like SQL for database
  • XQuery is built on with the use of XPath expressions
  • XQuery is defined by the W3C standard
  • XQuery is supported by all the major database engines ( Oracle,IBM, Microsoft, etc.)
  • XQuery will become W3C standard - and developers can be sure that the code will work among different products



XQuery is About Querying XML

XQuery is a language for finding and extracting the elements and attributes from XML documents.

Here is an example of a question that XQuery could solve only:

"Select all CD records with a price less than $10 from the CD collection stored in the XML documents called cd_catalog.xml"

XQuery and XPath

XQuery 1.0 and XPath 2.0 share the same data model and supports the same functions and operators. If you have already studied XPath you will have no problem with understanding XQuery.

You can read more about XPath in our XPath Tutorial.



XQuery - Examples of Use

XQuery can be used to:

  • Generate summary reports
  • Extract information to use in a Web Service
  • Transform XML data to XHTML
  • Search Web documents for relevant information

XQuery is Not (Yet) a Web Standard

XQuery is compatible with the several W3C standards, such as XML, Namespaces, XSLT, XPath, and XML Schema.

However, XQuery 1.0 is not yet W3C Recommendation (XQuery is a Working Draft). Hopefully it will be a recommendation in the near future.

To read more about the XQuery activity at W3C Tutorial, please read our W3C Tutorial

What You Should Already Know

Before you goes to this tutorial you should have a basic understanding of the following:

  • HTML / XHTML
  • XPath
  • XML / XML Namespaces

If you are going to study these subjects first, find the tutorial on our Home page




Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • connotea
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Netvouz
  • RawSugar
  • Reddit
  • scuttle
  • Shadows
  • Simpy
  • Smarking
  • Spurl
  • TailRank
  • Wists
  • YahooMyWeb

Previous Next

Keywords: xquery editor, xml databases, xml schema, xquery expression


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.