{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cis562f10_note9_XQuery1 (3) - Chapter 5 XML Query Languages...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Chapter 5 XML Query Languages Reading: pp. 91 – 166 and 75 – 90 in Coursepack; Lecture Notes 1. Overview — Problem: how to query XML data? General programming approach: descriptive – describe how to do it: much burden on user side. Query language approach: declarative – say what you want: less work, more optimization opportunities. XPath -- locate nodes in an XML doc: serves as a base for others XQuery -- query XML documents: a comprehensive language XSLT -- transform an XML document into another XML/HTML: mainly for rendition SQL/XML -- extended SQL to handle XML data in tables (e.g., query/export) In this course, we only discuss the first three query languages
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 2. XPath — Stands for X ML P ath L anguage — Use path expressions to locate nodes in XML data Sample data for examples
Background image of page 2