Next / Previous / Contents / Shipman's homepage

6.1. xsl:stylesheet attributes

Attributes of xsl:stylesheet include:

version (required)

Use version="1.0".

xmlns:xsl

Use xmlns:xsl="http://www.w3.org/TR/xslt" to connect your document to this version of the XSLT standard.

extension-element-prefixes

This attribute defines a prefix you will use to invoke extension elements. See extension elements below.

exclude-result-prefixes

Normally, any element whose name doesn't start with xsl: is copied to the output. However, if you are using extension elements, you can use this attribute to specify that elements with certain prefixes are to be processed and not copied to the output. See the section on extension elements below for an example.