Course Outline
XQuery is a generic technology and will be taught in a generic, language context. XQuery implementations are associated with database products, where the tool-specific skills are greater than just the XQuery components.
To avoid this the tool used will be an XQuery engine, one of the most popular, open-source XQuery implementations that operates directly on XML documents in filestore.
Course Content
Our comprehensive XQuery training course provides an intensive hands-on introduction to using XQuery in a commercial environment.
Available as a public or closed course at our London training centre, or can be tailored to your team's requirements and delivered onsite as a bespoke, customised training course.
This course has been developed for real-world, commercial scenarios by our expert instructors. See below for detailed syllabus. If you have a technical question, please email sales@jbinternational.co.uk
What You Will Learn
1. XQuery - what is it?
2. The XQuery document model
3. Practical XQuery coding exercises
4. Use with documents and data
5. How XQuery uses XML schemas.
6. Use of open-source XQuery engine
7. How it relates to XPath and XSLT.
8. Writing XQuery function libraries.
Exercises
1. Selecting data using XPath.
2. FLWOR expressions using Join and sorting.
4. Display a nested section structure.
5. Extract indexing terms and construct a concordance.
6. Text processing and up-conversion.
7. Reporting using Grouping.
XQuery Training Course UK Outline
Analysis of XQuery
What kind of language is XQuery?
How does it relate to XPath 2.0
What is it used for?
How can it be deployed?
Types of XQuery products
XQuery and SQL co-existence
Practical XQuery coding exercises
A reporting application, analyzing the results of a sports tournament, where the emphasis is on selecting data using Path expressions
Presentation
By comparison, a presentation of what's new in XSLT 2.0 including XSLT solutions to the previous two scenarios.
Presentation of the XQuery data model
The objective is to establish the foundational concepts of the languages needed to underpin the next stage of of practical learning. Illustration of the role that the data model plays in integrating XQuery into web-based applications.
Practical XQuery coding exercises
A recursive function to display the table of contents of a document with a nested section structure
A transformation exercise to extract indexing terms from a document and construct a concordance
Presentation
An introduction to XML Schema and its role in both validation and as a type system for XQuery and XSLT 2.0. Advantages and disadvantages of using XML Schemas when writing queries.
Presentation
Schema-aware XQuery processing and advantages of XML Schemas when writing queries. Overview of multiple modules in XQuery
Practical XQuery coding exercises
Text processing using regular expression -a practical "up-conversion" exercise, locating patterns of text within an input document and adding markup to the document#
A reporting exercise involving grouping, eg. Producing a sales report by calendar quarter and region.
XQuery discussion and summary
An opportunity to review what has been learnt and how the knowledge can be applied in the client's project. This will typically include a discussion of the role of XQuery alongside other technologies.