xsl
- 网络可扩展样式表语言;可延伸样式表语言;可扩展样式语言
xsl
xsl
可扩展样式表语言
将可扩展样式表语言 (XSL) 样式表应用于一个 XML 数据文件,并将所产生的 XML 写到 XML 数据文件中。名称 Description Ap…
可延伸样式表语言
处理可延伸样式表语言 (XSL) 转换却发生错误时,所掷回的例外状况。请参阅不正确 不够深入 需要更多程式码范例 翻译需要 …
可扩展样式语言
编码会使可扩展样式语言 (XSL) 转换变得困难。为了支持对实际上未进行编码的列名称进行快速查找,可以将 sql:field 特性添 …
XML stylesheet language
Resin的一种先进的语言XSL(XML stylesheet language)可以使得形式和内容相分离。 支持EJB。
1
Fortunately, you don't have to write your own XSL stylesheets just to add a bit of personalization or custom formatting to the HTML.
幸运的是,您不必只为了向HTML添加一点个性化或自定义格式而编写自己的XSL样式表。
2
The trick is to use another style sheet, generate_html. xsl, in Listing 10 to turn start. xsl into a more typical style sheet.
诀窍是使用清单10中的另一个样式表generate_html.xsl将start.xsl转换成更典型的样式表。
3
XSL-FO is often used as an output format from XSLT ( covered earlier in this series).
XSL-FO常用作XSLT(本系列文章前已述及)的输出格式。
4
The debugger can be used to debug a style sheet, or to debug a compiled XSL transformation invoked from another application.
调试程序可以用于调试样式表,也可以用于调试从另一个应用程序调用的已编译XSLT转换。
5
The XSL Formatting Objects (XSL-FO) standard is one of the least known parts of the XSL standard (the more prominent part being XSLT).
XSL格式化对象(XSL-FO)标准是XSL标准中最鲜为人知的部分之一(人们更熟悉的部分是XSLT)。
6
If you look at the top part of ProjectPublish. xsl you'll see that this transformation file will generate the following HTML.
如果你观察ProjectPublish.xsl的顶部,你将看到这个转换文件将生成如下HTML。
7
NOTE: The XSL WG intends to define such a mechanism in a future version of this specification or in a separate specification.
注意:XSL工作小组打算在本规范的将来版本中定义出这样一套机制来,或者单独在另一个规范中定义。
8
If you want to try all this out, the bundled files provide a simple XML file, XSL stylesheet, and source code (see Download).
如果想要全部尝试,绑定的文件提供了简单的XML文件、XSL样式表和源代码(参阅下载)。
9
Each XSL Transformation primitive is associated with a map file that describes the transformations to be made to the input XML.
每个XSLTransformation原语与描述要对输入XML进行转换的映射文件关联。
10
A simple modification of the XSL file allows for the appropriate set of SQL statements to be selected at runtime.
XSL文件的一个简单的修改应该考虑到在运行时被选择的那些合适的SQL声明。
11
But the only real combination of filters created by an XSL file is a union on all the filters .
但由XSL文件创建的过滤器的唯一实际组合是对所有过滤器的并集。
12
XT allows callbacks to static methods of any class in the classpath at the time of XSL processing.
XT允许回调在XSL处理期间访问处于classpath中的任何类的静态方法。
13
Apache FOP: Learn more about this print formatter driven by XSL formatting objects (XSL-FO) and an output independent formatter.
ApacheFOP:深入了解这个由XSL格式化对象(XSL-FO)和一个输出独立的格式化程序驱动的打印格式化程序。
14
To the document author, however, it may be formatting intended to be used in an XSL transformation.
对于文档作者来说,它可能是在XSL变换中将要使用的格式。
15
This article is written for developers who already have a basic understanding of XML and XSL, and are ready to build on this knowledge.
本文适合于已经基本理解XML和XSL并准备进一步了解这方面知识的开发人员。
16
XSL processors are typically initialized with a reference to the source XML and a reference to the style sheet to be used.
通常以对源XML的引用和对要使用的样式表的引用来初始化XSL处理器。
17
For simplicity, the resulting HTML doesn't contain the content from the XML data, but it's fairly easy to add the codes to XSL.
为简便起见,最终HTML不包含XML数据的内容,但要对XSL添加代码相当容易。
18
Take a look at the source code of the sample application to see how to define and use CSS styles with XSL.
看一下样本应用中的源代码,以了解如何在XSL中定义和使用CSS样式。
19
The options are available to attach XSL both as an input parameter as well as output converter for that Web service.
可以选择以输入参数和输出转换器的方式将XSL附加到Web服务上。
20
If I had used the xsl: prefix directly, these elements would be executed immediately rather than being copied.
如果我直接使用xsl:前缀,则会立即执行这些元素而不是复制它们。
21
The xsl: message element lets you compare what you think the processor sees in your document to what it really sees.
message元素可以让您比较处理程序在文档中应该看到和实际看到的内容。
22
Normally XSL- FO document do not combine formatting information and content like we have done here .
一般来说XSL-FO文档不象我们这样把格式化信息和内容结合起来。
23
Specially, if you are going to use one XSL file to set the SOAPAction header depending on which Web service operation is being invoked.
特别是当您准备使用一个XSL文件根据所调用的Web服务操作来设置SOAPAction报头信息时更是如此。
24
However, the number of files doubles because each program needs at least one corresponding XSL file.
但是,文件数却成倍增加了,因为每个程序至少需要一个对应的XSL文件。
25
It's very easy to confuse the fields and place the XML document in the XSL fields or vice versa.
很容易弄错域,将XML文档放置到XSL域中,反之亦然。
26
Fortunately, XSLT makes it easy to combine several input XML files, as multi. xsl in Listing 6 illustrates.
幸好,XSLT使组合几个输入文件变得更容易,如清单6中multi.xsl所说明的。
27
Also, conditional expressions and iterators have been added to the XPath language, where previously they were part of the XSL language.
同样,已将条件表达式和迭代器添加到了XPath语言中,而在以前它们是XSL语言的一部分。
28
One of the first specs to come out of the widespread use of XML was the XSL (see Resources).
XML的广泛使用所产生的第一个规范是XSL(参阅参考资料)。
29
As XLIFF and TMX are both XML vocabularies, it is possible to use an XSL transformation to convert an XLIFF file to TMX format.
XLIFF和TMX都是XML词汇表,因此可以使用XSL转换将XLIFF文件转化成TMX格式。
30
What I need is a more general solution, one that would let users tell tracexsl. xsl which of their templates are and are not safe to trace.
我所需要的是更一般的解决方案,它会让用户告诉tracexsl.xsl:在他们的模板中哪些在跟踪时是安全的,哪些是不安全的。