XSLT Elements And Function Reference

 

Elements

ElementDescriptionIENN
apply-importsApplies a template rule from an imported style sheet6.0 
apply-templatesApplies a template rule to the current element or to the current element's child nodes5.06.0
attributeAdds an attribute5.06.0
attribute-setDefines a named set of attributes6.06.0
call-templateCalls a named template6.06.0
chooseUsed in conjunction with <when> and <otherwise> to express multiple conditional tests5.06.0
commentCreates a comment node in the result tree5.06.0
copyCreates a copy of the current node (without child nodes and attributes)5.06.0
copy-ofCreates a copy of the current node (with child nodes and attributes)6.06.0
decimal-formatDefines the characters and symbols to be used when converting numbers into strings, with the format-number() function6.0 
elementCreates an element node in the output document5.06.0
fallbackSpecifies an alternate code to run if  the processor does not support an XSLT element6.0 
for-eachLoops through each node in a specified node set5.06.0
ifContains a template that will be applied only if a specified condition is true5.06.0
importImports the contents of one style sheet into another. Note: An imported style sheet has lower precedence than the importing style sheet6.06.0
includeIncludes the contents of one style sheet into another. Note: An included style sheet has the same precedence as the including style sheet6.06.0
keyDeclares a named key that can be used in the style sheet with the key() function6.06.0
messageWrites a message to the output (used to report errors)6.06.0
namespace-aliasReplaces a namespace in the style sheet to a different namespace in the output6.0 
numberDetermines the integer position of the current node and formats a number6.06.0
otherwiseSpecifies a default action for the <choose> element5.06.0
outputDefines the format of the output document6.06.0
paramDeclares a local or global parameter6.06.0
preserve-spaceDefines the elements for which white space should be preserved6.06.0
processing-instructionWrites a processing instruction to the output5.06.0
sortSorts the output6.06.0
strip-spaceDefines the elements for which white space should be removed6.06.0
stylesheetDefines the root element of a style sheet5.06.0
templateRules to apply when a specified node is matched5.06.0
textWrites literal text to the output5.06.0
transformDefines the root element of a style sheet6.06.0
value-ofExtracts the value of a selected node5.06.0
variableDeclares a local or global variable6.06.0
whenSpecifies an action for the <choose> element5.06.0
with-paramDefines the value of a parameter to be passed into a template6.06.0

Function
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值