HOME

XSL Tutorial
XSL HOME
XSL Introduction
XSL Languages
XSL Browsers
XSL Transform
XSL template
XSL value-of
XSL for-each
XSL sort
XSL if
XSL choose
XSL apply-templates
XSL on the Client
XSL on the Server

References
XSLT Elements
Download XMLSpy here
Please visit our sponsors !

XSLT Elements Reference

prev next

The XSLT elements from the W3C Recommendation (XSLT Version 1.0).


W3C XSLT Elements

The links in the "Element" columns point to attributes and more useful information about the specific element.

  • NN: indicates the earliest version of Netscape that supports the tag
  • IE: indicates the earliest version of Internet Explorer that supports the tag

Note: All elements supported in IE 5.X may have NON-standard behavior, because IE 5.X was released before XSL/XSLT became a W3C Recommendation!

Element Description IE NN
xsl:apply-imports Applies a template rule from an imported style sheet 6.0  
xsl:apply-templates Applies a template rule to the current element or to the current element's child nodes 5.0 6.0
xsl:attribute Adds an attribute 5.0 6.0
xsl:attribute-set Defines a named set of attributes 6.0 6.0
xsl:call-template Calls a named template 6.0 6.0
xsl:choose Used in conjunction with <xsl:when> and <xsl:otherwise> to express multiple conditional tests 5.0 6.0
xsl:comment Creates a comment node in the result tree 5.0 6.0
xsl:copy Creates a copy of the current node (without child nodes and attributes) 5.0 6.0
xsl:copy-of Creates a copy of the current node (with child nodes and attributes) 6.0 6.0
xsl:decimal-format Defines the characters and symbols to be used when converting numbers into strings, with the format-number() function 6.0  
xsl:element Creates an element node in the output document 5.0 6.0
xsl:fallback Specifies an alternate code to run if  the XSL processor does not support an XSL element 6.0  
xsl:for-each Loops through each node in a specified node set 5.0 6.0
xsl:if Contains a template that will be applied only if a specified condition is true 5.0 6.0
xsl:import Imports the contents of one style sheet into another. Note: An imported style sheet has lower precedence than the importing style sheet 6.0 6.0
xsl:include Includes the contents of one style sheet into another. Note: An included style sheet has the same precedence as the including style sheet 6.0 6.0
xsl:key Declares a named key that can be used in the style sheet with the key() function 6.0 6.0
xsl:message Writes a message to the output (used to report errors) 6.0 6.0
xsl:namespace-alias Replaces a namespace in the style sheet to a different namespace in the output 6.0  
xsl:number Determines the integer position of the current node and formats a number 6.0 6.0
xsl:otherwise Specifies a default action for the <xsl:choose> element 5.0 6.0
xsl:output Defines the format of the output document 6.0 6.0
xsl:param Declares a local or global parameter 6.0 6.0
xsl:preserve-space Defines the elements for which white space should be preserved 6.0 6.0
xsl:processing-instruction Writes a processing instruction to the output 5.0 6.0
xsl:sort Sorts the output 6.0 6.0
xsl:strip-space Defines the elements for which white space should be removed 6.0 6.0
xsl:stylesheet Defines the root element of a style sheet 5.0 6.0
xsl:template Rules to apply when a specified node is matched 5.0 6.0
xsl:text Writes literal text to the output 5.0 6.0
xsl:transform Defines the root element of a style sheet 6.0 6.0
xsl:value-of Extracts the value of a selected node 5.0 6.0
xsl:variable Declares a local or global variable 6.0 6.0
xsl:when Specifies an action for the <xsl:choose> element 5.0 6.0
xsl:with-param Defines the value of a parameter to be passed into a template 6.0 6.0


prev next

Jump to: Top of Page or HOME or Printer Friendly Printer friendly page


Search W3Schools:


What Others Say About Us

Does the world know about us? Check out these places:

Dogpile Alta Vista MSN Google Excite Lycos Yahoo Ask Jeeves


We Help You For Free. You Can Help Us!


W3Schools is for training only. We do not warrant its correctness or its fitness for use. The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2002 by Refsnes Data. All Rights Reserved


Validate How we converted to XHTML Validate

IISCart
ASP Ecommerce & Shopping Cart


Your own Web Site?

Read W3Schools
Hosting Tutorial



$15 Domain Name
Registration
Save $20 / year!



Advertise
at W3Schools

Only 0.5 CPM



SELECTED LINKS

University Online
Master Degree
Bachelor Degree


Web Software

The Future of
Web Development


Jobs and Careers

Web Security
Web Statistics
Web Standards


PARTNERS

W3Schools
TopXML
VisualBuilder
XMLPitstop
DevelopersDex
DevGuru
Programmers Heaven
The Code Project
Tek Tips Forum
ZVON.ORG
TopXML Search