1. Home
  2. Docs
  3. Web Technology I
  4. eXtensible Markup Languag...
  5. Introduction to XQuery

Introduction to XQuery

Some basic syntax rules:

  • XQuery is case-sensitive
  • XQuery elements, attributes, and variables must be valid XML names
  • An XQuery string value can be in single or double quotes
  • An XQuery variable is defined with a $ followed by a name, e.g. $bookstore
  • XQuery comments are delimited by (: and :), e.g. (: XQuery Comment 🙂

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

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *