CMP 051XML Introduction
Session II Chapter 2 – XSL
http://www.profburnett.com
Copyright © Carl M. Burnett 2
OutlineXSLXSLTXQueryXPathXLinkXPointer
XML-NamespacesXSL-FO
8/1/2014
Copyright © Carl M. Burnett 3
XSLXSL – Extensible Stylesheet LanguageCSS - Stylesheet for HTMLXSL - Stylesheet For XML
8/1/2014
Copyright © Carl M. Burnett 4
XSLGroup of Technologies
8/1/2014
XQuery XPointer XLink
XPath
XSLT
XSL-FO
XML-Namespaces
Copyright © Carl M. Burnett 5
XSLTXSLT - a language for transforming XML documentsXSLT is the most important part of XSLXSLT transforms an XML document into another XML
documentXSLT uses XPath to navigate in XML documentsXSLT is a W3C Recommendation
8/1/2014
Copyright © Carl M. Burnett 6
XQueryXQuery is the language for querying XML dataXQuery for XML is like SQL for databasesXQuery is built on XPath expressionsXQuery is supported by all major databasesXQuery is a W3C Recommendation
8/1/2014
Copyright © Carl M. Burnett 7
XPathXPath is a syntax for defining parts of an XML documentXPath uses path expressions to navigate in XML
documentsXPath contains a library of standard functionsXPath is a major element in XSLTXPath is a W3C recommendation
8/1/2014
Copyright © Carl M. Burnett 8
XLinkXLink is used to create hyperlinks within XML documentsAny element in an XML document can behave as a linkXLink supports simple links (like HTML) and extended links
(for linking multiple resources together)With XLink, the links can be defined outside the linked filesXLink is a W3C Recommendation
8/1/2014
Copyright © Carl M. Burnett 9
XPointerXPointer allows the links to point to specific parts of an
XML documentXPointer uses XPath expressions to navigate in the XML
documentXPointer is a W3C Recommendation
8/1/2014
Copyright © Carl M. Burnett 10
XML-NamespacesXML Namespaces provide a method to avoid element
name conflicts.
8/1/2014
Copyright © Carl M. Burnett 11
XSL-FOXSL-FO is a language for formatting XML dataXSL-FO stands for Extensible Stylesheet Language
Formatting ObjectsXSL-FO is based on XMLXSL-FO is a W3C RecommendationXSL-FO is now formally named XSL
8/1/2014
Copyright © Carl M. Burnett 12
ReviewXSLXSLTXQueryXPathXLinkXPointer
XML-NamespacesXSL-FO
8/1/2014
Next – Chapters 2, 3, & 15 - XPath