XSLT element reference manual

Source: Internet
Author: User
Tags xslt

Web: http://www.w3school.com.cn/xsl/xsl_w3celementref.asp

XSLT Element

For more details about the following elements, click the link in the element column.

    • N: indicates the earliest Netscape version that supports this label.
    • IE: indicates the earliest version of Internet Explorer that supports this label.

Note:Elements supported in IE 5 may have non-standard behaviors because IE 5 was released before XSLT was formally established as the W3C standard.

Element Description IE N
Apply-Imports Apply the template rules from the imported style sheet. 6.0  
Apply-templates Apply the template to the current element or the child element of the current element. 5.0 6.0
Attribute Add attributes to an element. 5.0 6.0
Attribute-Set Create a named property set. 6.0 6.0
Call-template Call a specified template. 6.0 6.0
Choose Used in collaboration with <when> and <otherwise> to express multi-condition tests. 5.0 6.0
Comment Create a comment node in the result tree. 5.0 6.0
Copy Create a backup for the current node (no sub-nodes and attributes ). 5.0 6.0
Copy- Create a backup (with sub-nodes and attributes) for the current node ). 6.0 6.0
Decimal-format Defines the characters and symbols used to convert a number to a string using the format-number () function. 6.0  
Element Create an element node in the output document. 5.0 6.0
Fallback If the processor does not support an XSLT element, define a backupCode. 6.0  
For-each Traverses each node in the specified node set. 5.0 6.0
If Contains a template, which is applied only when a specified condition is set. 5.0 6.0
Import It is used to import the content of a style sheet into another style sheet. 6.0 6.0
Include Include the content in one style sheet to another. 6.0 6.0
Key Declare a named key. 6.0 6.0
Message Write a message to the output (used for error reporting ). 6.0 6.0
Namespace-alias Replace the namespace in the style sheet with different namespaces in the output. 6.0  
Number Measure the integer position of the current node and format the number. 6.0 6.0
Otherwise Specifies the default action of the <choose> element. 5.0 6.0
Output Define the output document format. 6.0 6.0
Param Declare a local or global parameter. 6.0 6.0
Preserve-space Defines elements that retain white space. 6.0 6.0
Processing-Instruction Generate a processing command node. 5.0 6.0
Sort Sort the results. 6.0 6.0
Strip-space Defines the elements that should be deleted from white spaces. 6.0 6.0
Stylesheet Defines the root element of the style sheet. 5.0 6.0
Template The rule applied when the specified node is matched. 5.0 6.0
Text Use a style sheet to generate a text node. 5.0 6.0
Transform Defines the root element of the style sheet. 6.0 6.0
Value- Extract the value of the selected node. 5.0 6.0
Variable Declare local or global variables. 6.0 6.0
When Specifies the action of the <choose> element. 5.0 6.0
With-Param Specifies the parameter value of a template. 6.0 6.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.