Return to doc.sitecore.com

Presentation Component XSL Reference

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:

Sitecore CMS 6.0 or 6.1 version:

Related reading:

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