50 likes | 251 Views
Querying XML. XSLT. XSLT. Querying XML Not nearly as mature as Querying Relational Newer No underlying algebra Sequence of development 1. XPath 2. XSLT 3. XQuery. XSLT. XSLT XSL = Extensible Stylesheet Language XSLT = XSL (with) Transformations. XSLT. XSLT as
E N D
Querying XML XSLT
XSLT Querying XML Not nearly as mature as Querying Relational • Newer • No underlying algebra Sequence of development 1. XPath 2. XSLT 3. XQuery
XSLT XSLT XSL = Extensible Stylesheet Language XSLT = XSL (with) Transformations
XSLT XSLT as Query Language XSLT Specification (in XML) XML Document or Stream XML Document or Stream XSLT Processor Query Database Query Processor Answer
XSLT XSLT: Rule-Based Transformations • Match template and replace • Recursively match templates • Extract values • Iteration (for-each) • Conditionals (if) • Strange default/whitespace behavior • Implicit template priority scheme Demo: XSLT examples over bookstore data