RKCP Information Technology




XML
Home » Courses   » XQuery

XML XQuery

Overview

Ways in which finding, retrieving, and manipulating of data in XML documents can be done using XQuery.


Objective

  • Understanding the XQuery data model
  • Mastering the fundamentals of the XQuery language
  • Using path expressions to refer to e4lements
  • Selection and filtering using FLWORs
  • Group combining, and joining results
  • Working with namespaces
  • Manipulating strings of text
  • Using functions and modules


Prerequisites

  • Knowledge about fundamentals of XML are preferred.


Syllabus

Expand All
  • 1. XQuery in Context
    • What does XQuery mean?
    • Using Cases
    • Background and language design
    • Easing into XQuery
  • 2. The XQuery Data Model
    • Nodes
    • Atomic values
    • Sequences
  • 3. Basics of XQuery Language
    • Syntax and Keywords of XQuery
    • Variables
    • Function calls
    • Comments
    • Comparisons
    • Conditional expressions (if-then-else)
    • The query prolog
  • 4. Path Expressions
    • Axes
    • Node tests
    • Predicates
    • The position() and last() functions
    • The doc() and collection() functions
  • 5. Addition of Elements and Attributes with the use of Constructors
    • Direct element constructors
    • Direct attribute constructors
    • Computed constructors
  • 6. Selection and Filtering using FLWORs
    • The FOR clause
    • The LET clause
    • The WHERE clause
    • The RETURN clause
    • The ORDER BY clause
    • Quantified expressions (some/every satisfies)
  • 7. Grouping, Combining and Joining Results
    • Selection of distinct values
    • Joining two documents
    • Outer joins
    • Combining sequences (union, except, intersect)
    • Grouping
  • 8. Working with Namespaces
    • Namespaces in XML
    • Namespaces in XQuery
  • 9. Working with Text and Strings
    • Comparing strings
    • Matching with regular expressions
    • Manipulating strings (concatenating, splitting, replacing)
    • Understanding whitespace
  • 10. Functions and Modules
    • Call of built-in functions
    • User-defined functions
    • Library modules
    • Global variables
  • 11. Closer look at Types and Schemas
    • The XQuery type system
    • Constructors and casting
    • Using schemas with XQuery