This reference describes major XSL and XPath constructs and functions as well as Sitecore XSL extension controls.
Click the respective link to download the PDF version of the whole document.
Sitecore CMS 6.2-6.4 version:
- Download the reference in A4 format (PDF, 0.65 MB)
- Download the reference in US letter format (PDF, 0.65 MB)
Sitecore CMS 6.0 or 6.1 version:
- Download the reference in A4 format (PDF, 605 KB)
- Download the reference in US letter format (PDF, 611 KB)
Related reading:
- Common XSL Misconceptions
- Working with Dates Using XSL and the Sitecore ASPNET CMS
- Select and Link to Media Items with XSLT Using the Sitecore Web Content Management System
- Repost: Sitecore Rendering Parameters Templates
Table of Contents (valid for Sitecore CMS 6.2)
Introduction
Basic XSL and XPath Constructs
XSL Overview
XML, XSL, and XPath Tokens
XSL Elements
XPath and XSL Functions
The Sitecore XML Structure
Working with Items
Item Attributes
Item Fields
XPath Navigation
Specific Items
Item References
Implicit Relationships (XPath Axes)
Selecting Items
How to Select Items Based on a Specific Data Template
How to Select Items with a Version in the Context Language
How to Select Items with Children
XSL and XPath with Sitecore
The Sitecore XSL Boilerplate File
XSL Error Management
Working with Fields
Overview of XSL Extension Controls and Methods
Sitecore XSL Extension Controls
Common Attributes
The Sitecore XSL Extension Controls
Sitecore XSL Extension Methods
The sc Namespace : The Sitecore.Xml.Xsl.XslHelper Class
Additional XSL Extension Method Classes
Custom XSL Extension Libraries
Custom XSL Extension Methods
How to Add Methods to the sc Namespace
How to Access Properties of an XSL Extension Method Library Object
XSL Extension Method Examples