<%@ page language="C#" masterpagefile="~/templates/Documentation.master" inherits="Page" pagetitle="xsl:stylesheet" keywords="xsl:stylesheet"%>

xsl:stylesheet

Specifies the start of a stylesheet.

Format

<xsl:stylesheet 
xmlns:xsl="http:///www.w3.org/1999/XSL/Transform" version="1.0" > 
   stylesheet_body 
</xsl:stylesheet> 

Description

A stylesheet must specify the xsl:stylesheet element unless it contains only a literal result element as the root element. The xsl:transform instruction is a synonym for xsl:stylesheet.

All XSLT elements must appear between the <xsl:stylesheet> and </xsl:stylesheet> tags. An element that is a child of an xsl:stylesheet element is a top-level element.