分享
 
 
 

XSLT References-from w3schools.com

王朝c#·作者佚名  2006-12-17
窄屏简体版  字體: |||超大  

XSLT Elements Reference

XSLT ElementsThe 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 All elements supported in IE 5.X may have NON-standard behavior, because IE 5.X was released before XSLT became a W3C Recommendation!

ElementDescriptionIENNapply-imports

Applies a template rule from an imported style sheet

6.0

apply-templates

Applies a template rule to the current element or to the current element's child nodes

5.0

6.0

attribute

Adds an attribute

5.0

6.0

attribute-set

Defines a named set of attributes

6.0

6.0

call-template

Calls a named template

6.0

6.0

choose

Used in conjunction with <when> and <otherwise> to express multiple conditional tests

5.0

6.0

comment

Creates a comment node in the result tree

5.0

6.0

copy

Creates a copy of the current node (without child nodes and attributes)

5.0

6.0

copy-of

Creates a copy of the current node (with child nodes and attributes)

6.0

6.0

decimal-format

Defines the characters and symbols to be used when converting numbers into strings, with the format-number() function

6.0

element

Creates an element node in the output document

5.0

6.0

fallback

Specifies an alternate code to run if the processor does not support an XSLT element

6.0

for-each

Loops through each node in a specified node set

5.0

6.0

if

Contains a template that will be applied only if a specified condition is true

5.0

6.0

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

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

key

Declares a named key that can be used in the style sheet with the key() function

6.0

6.0

message

Writes a message to the output (used to report errors)

6.0

6.0

namespace-alias

Replaces a namespace in the style sheet to a different namespace in the output

6.0

number

Determines the integer position of the current node and formats a number

6.0

6.0

otherwise

Specifies a default action for the <choose> element

5.0

6.0

output

Defines the format of the output document

6.0

6.0

param

Declares a local or global parameter

6.0

6.0

preserve-space

Defines the elements for which white space should be preserved

6.0

6.0

processing-instruction

Writes a processing instruction to the output

5.0

6.0

sort

Sorts the output

6.0

6.0

strip-space

Defines the elements for which white space should be removed

6.0

6.0

stylesheet

Defines the root element of a style sheet

5.0

6.0

template

Rules to apply when a specified node is matched

5.0

6.0

text

Writes literal text to the output

5.0

6.0

transform

Defines the root element of a style sheet

6.0

6.0

value-of

Extracts the value of a selected node

5.0

6.0

variable

Declares a local or global variable

6.0

6.0

when

Specifies an action for the <choose> element

5.0

6.0

with-param

Defines the value of a parameter to be passed into a template

6.0

6.0

XSLT Functions

XSLT FunctionsName

Description

current()

Returns the current node

document()

Used to access the nodes in an external XML document

element-available()

Tests whether the element specified is supported by the XSLT processor

format-number()

Converts a number into a string

function-available()

Tests whether the function specified is supported by the XSLT processor

generate-id()

Returns a string value that uniquely identifies a specified node

key()

Returns a node-set using the index specified by an <xsl:key> element

system-property()

Returns the value of the system properties

unparsed-entity-uri()

Returns the URI of an unparsed entity

Inherited XPath FunctionsYou can also use ALL the XPath functions in XSLT. Look at the XPath functions.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有