Pages

Thursday, May 27, 2010

Introduction to XQuery

XQuery

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

What is XQuery?
•XQuery is the language for querying XML data
•XQuery for XML is like SQL for databases
•XQuery is built on XPath expressions
•XQuery is supported by all major databases
•XQuery is a W3C Recommendation

XQuery

It is designed to query anything that can appear as XML, including databases.If you want to learn more about XQuery, first we shd go for our XLink and XPointer Linking in XML is divided into two parts: XLink and XPointer.
XLink and XPointer define a standard way of creating hyperlinks in XML documents
XQuery is a language for finding and extracting elements and attributes from XML documents.
Here is an example of a question that XQuery could solve:
"Select all CD records with a price less than $10 from the CD collection stored in the XML document called cd_catalog.xml"
XQuery and XPath
XQuery 1.0 and XPath 2.0 share the same data model and support the same functions and operators.

XQuery

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

1 comment:

  1. It is nice blog Thank you provide important information and I am searching for the same information to save my time Ruby on Rails Online Course Hyderabad

    ReplyDelete