XML.com: XML From the Inside Out
oreilly.comSafari Bookshelf.Conferences.

advertisement
 Resource Guide -> W3C Standards, XML Query Languages, XPath, XQuery -> FLWOR Tutorial

FLWOR Tutorial


Link: http://www.stylusstudio.com/xquery_flwor.html
Source Author or Organization: Stylus Studio

FLWOR stands for "For, Let, Where, Order by, and Return" - it's an important XQuery construct for working with XML data in XQuery. The XQuery FLWOR tutorial is written by Dr. Michael Kay and covers the following topics:

  • Simple XQuery FLWOR Examples
  • The relationship between FLWOR expressions and XPath expressions
  • The syntax of an XQuery FLWOR Expression
  • Executing a FLWOR expression to query an XML file
  • Using 'Variables' in XQuery
  • Troubshooting XQuery FLWOR expressions
  • Ordering in XQuery
  • XQuery Return values
  • Declaring XQuery types
  • Grouping in XQuery
  • Common XQuery functions
  • Visually defining XQuery FLWOR blocks with the Stylus Studio XQuery Mapper

This tutorial on XQuery FLWOR is Dr. Michael Kay's second installment in a series of XQuery articles which included an XQuery primer entitled: "Learn XQuery in 10 Minutes" and a tutorial about Schema Awareness entitled: "Schema-Aware Queries and Stylesheets".