Mastering XPath and XQuery

111 Ratings

Course Number: XML-130
Duration: 2 days (13 hours)
Format: Live, hands-on

XQuery Training Overview

Accelebrate's XQuery training teaches attendee how to find, retrieve, and manipulate data in XML documents using XPath and XQuery.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand the XQuery/XPath data model
  • Master the fundamentals of the XQuery/XPath language
  • Use path expressions to refer to elements
  • Select and filter using FLWORs
  • Group combine, and join results
  • Work with namespaces
  • Manipulate strings of text
  • Use functions and modules

Prerequisites

All attendees should understand the fundamentals of XML.

Outline

Expand All | Collapse All

XQuery in Context
  • What is XQuery?
  • Use Cases
  • Background and language design
  • Easing into XQuery
The XQuery/XPath Data Model
  • Nodes
  • Atomic values
  • Sequences
XQuery/XPath Language Basics
  • XQuery syntax and keywords
  • Variables
  • Function calls
  • Comments
  • Comparisons
  • Conditional expressions (if-then-else)
  • The query prolog
Path Expressions
  • Axes
  • Node tests
  • Predicates
  • The position() and last() functions
  • The doc() and collection() functions
Adding Elements and Attributes Using Constructors
  • Direct element constructors
  • Direct attribute constructors
  • Computed constructors
Selecting 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)
Grouping, Combining and Joining Results
  • Selecting distinct values
  • Joining two documents
  • Outer joins
  • Combining sequences (union, except, intersect)
  • Grouping
Working with Namespaces
  • Namespaces in XML
  • Namespaces in XQuery
Working with Text and Strings
  • Comparing strings
  • Matching with regular expressions
  • Manipulating strings (concatenating, splitting, replacing)
  • Understanding whitespace
Functions and Modules
  • Calling built-in functions
  • User-defined functions
  • Library modules
  • Global variables
A Closer Look at Types and Schemas
  • The XQuery/XPath type system
  • Constructors and casting
  • Using schemas with XQuery
Conclusion

Training Materials

All XQuery training students receive comprehensive courseware.

Software Requirements

  • The XML/XSLT/XQuery editing and transformation environment that your developers will be using after class.


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan