`

xsl元素参考

阅读更多

XSLT 元素参考

W<chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="3" unitname="C" w:st="on">3C</chmetcnv>推荐标准所定义的XSLT元素(XSLT 1.0)。

XSLT元素

元素列中的链接指向每个特定元素的属性和更多有用的信息。

N: 指明最早版本的Netscape浏览器所支持的标签

IE: 指明最早版本的IE浏览器所支持的标签

注意: IE5支持的元素可能含有非标准的行为,因为在XSLT成为W<chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="3" unitname="C" w:st="on">3C</chmetcnv>的官方推荐标准之前,IE5就已经发布了。

Element
元素

Description
描述

IE

N

apply-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
通过与<when> <otherwise>配合使用来表达多种条件语句

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
当使用format-number()函数将数字转换成字符串时,定义字符和符号

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
如果处理器不支持XSLT元素,指定所需执行的替换代码

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
使用key() 函数声明一个可以用于样式表的特定键值

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
指定<choose>元素的默认行为

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

padding-right: 6pt; padding-left: 6pt; border-left-color: #ece9d8; border-bottom-color: #ece9d8; padding-bottom: 3.6pt; border-
分享到:
评论

相关推荐

    XSL开发基础参考资料

    XSL函数大全 XSL元素大全 常用的XPATH手册 XSL知识速查

    XSL基础教程以及元素参考手册

    XSL基础、 函数、 元素参考手册、 学习笔记

    XSL-FO 教程

    本章讲解 XSL-FO 文档的输出元素(Output Elements)。 XSL-FO 流 本章讲解 XSL-FO 文档的输出流(Output Flow)。 XSL-FO 页 本章讲解 XSL-FO 如何定义页面的布局。 XSL-FO 块 本章讲解 XSL-FO 输出块...

    xslt手册.chm

    起始于 XSL XSL 指扩展样式表语言(EXtensible Stylesheet Language)。 万维网联盟 (W3C) 开始发展 XSL 的原因是:存在着对于基于 XML 的样式表语言的需求。 CSS = HTML 样式表 HTML 使用预先定义的标签,标签的...

    XML实用大全----xml详细参考书

    比较全面的XML参考电子书!强列推荐。如下是目录: 第一部分 XML简介... 9 第1章 XML概览... 9 1.1 什么是XML. 10 1.1.1 XML是元标记语言... 10 1.1.2 XML描述的是结构和语义,而不是格式化... 10 1.2 为什么...

    JAVA WEB 开发详解:XML+XSLT+SERVLET+JSP 深入剖析与实例应用.part2

    4.19 [xsl:output]元素 157 4.19.1 指定输出文档的格式 158 4.19.2 输出xml声明 158 4.19.3 输出文档类型定义 159 4.19.4 输出cdata段 160 4.19.5 指定文档缩进 161 4.19.6 指定媒体类型 161 4.20 xslt中的...

    JAVA WEB 开发详解:XML+XSLT+SERVLET+JSP 深入剖析与实例应用.part5

    4.19 [xsl:output]元素 157 4.19.1 指定输出文档的格式 158 4.19.2 输出xml声明 158 4.19.3 输出文档类型定义 159 4.19.4 输出cdata段 160 4.19.5 指定文档缩进 161 4.19.6 指定媒体类型 161 4.20 xslt中的...

    JAVA WEB 开发详解:XML+XSLT+SERVLET+JSP 深入剖析与实例应用.part4

    4.19 [xsl:output]元素 157 4.19.1 指定输出文档的格式 158 4.19.2 输出xml声明 158 4.19.3 输出文档类型定义 159 4.19.4 输出cdata段 160 4.19.5 指定文档缩进 161 4.19.6 指定媒体类型 161 4.20 xslt中的...

    JAVA WEB 开发详解:XML+XSLT+SERVLET+JSP 深入剖析与实例应用.part3

    4.19 [xsl:output]元素 157 4.19.1 指定输出文档的格式 158 4.19.2 输出xml声明 158 4.19.3 输出文档类型定义 159 4.19.4 输出cdata段 160 4.19.5 指定文档缩进 161 4.19.6 指定媒体类型 161 4.20 xslt中的...

    XML轻松学习手册--XML肯定是未来的发展趋势,不论是网页设计师还是网络程序员,都应该及时学习和了解

    父元素是指包含有其它元素的元素,被包含的元素称为它的子元素。看上面的"结构树",其中是父元素,,是它的子元素,而又是的子元素。象这样没有包含任何子元素的最后一级元素我们也称之为"页元素"。 4.Parser(解析...

    C#XML入门经典 C#编程人员必备的XML技能.part2

    XSLT &lt;br&gt;8.1 何时使用XSLT 8.1.1 格式化 8.1.2 转换 8.2 XSL语言 8.3 使用XSL 8.4 XSL命名空间 8.5 剖析一个简单的XSL示例 8.5.1 添加处理指令 8.5.2 创建样式表 8.6 创建XSLT样式表...

    markdown2tei:使用 pandoc 将 Markdown 转换为符合 TEI-Lite 的 XML 的脚本

    这本质上是一个围绕自定义 pandoc 编写器和模板的 bash 包装器、一个简单的正则表达式(使用sed )和一个 XSL 脚本。 它将 Markdown 文件转换为符合 TEI Lite 标准的 XML 文件。 问题/拉取请求,欢迎。 要求 为了...

    jpivot学习总结.doc

    foreignKey 外键,对应事实表中的一个列,它通过 &lt;Hierarchy&gt; 元素中的主键属性连接起来。 3.4. Hierarchy 你一定要指定其中的各种关系 , 如果没有指定 , 就默认 Hierarchy 里面装的是来自立方体中的真实表 . ...

    ASP3《高级编程》(第一部分)

    本书不仅为Internet开发人员提供了详实的开发编程指导,也是致力于Internet网络应用与开发的广大科技人员和大专院校相关专业师生的一本重要的自学、教学参考书。 译者序 前言 第1章 ASP基础 1 1.1 ASP的起源 1 ...

    ASP3《高级编程》(第二部分)

    本书不仅为Internet开发人员提供了详实的开发编程指导,也是致力于Internet网络应用与开发的广大科技人员和大专院校相关专业师生的一本重要的自学、教学参考书。 译者序 前言 第1章 ASP基础 1 1.1 ASP的起源 1 ...

    PHP程序开发范例宝典III

    参考。  《PHP程序开发范例宝典》附有配套光盘。光盘提供了书中所有实例的源代码。代码都经过精心调试,在Windows XP/Windows 2000/Windows 2003 Server/Linux/UNIX下测试通过。 PHP程序开发范例宝典 ...

Global site tag (gtag.js) - Google Analytics