In this article, I use Xalan as the XSLT processor.
在本文中,我使用Xalan作为XSLT处理器。
If your extension function throws an exception, Xalan shuts down.
如果您的扩展函数抛出了一个异常,Xalan将关闭。
The easiest solution is to turn to the Xalan-provided serializer.
最简单的解决方案是求助于Xalan提供的序列化程序。
The following table provides a reference to these mappings in Xalan.
下表提供了Xalan中这些映射的参考。
The tag shown in bold allows you to specify the location of the Xalan JAR files.
粗体显示的标记使您可以指定XalanJAR文件的位置。
This file does not, however, include external libraries such as Xalan and Xerces.
但是,这个文件不包含诸如xalan和Xerces等外部库。
Among other products, Xalan 2.7 and Saxon 8 include an implementation of this library.
Xalan 2.7和Saxon8以及其他产品包含了这个库的实现。
Xalan-J is an open source XML processor, built on and around all open source parsers and tools.
Xalan-J是一个开源XML处理器,基于和围绕所有的开源解析器和工具构建。
When I use Xalan to run tracexsl1.xsl over Stefan's stylesheet, I get tracexsl-sample1.xsl.withTrace .
当我使用Xalan对Stefan 的样式表运行tracexsl1.xsl 时,我获得了 tracexsl-sample1.xsl.withTrace 。
Xalan has some debugging features already built into it which can tell you what a stylesheet is doing.
Xalan已经内置了一些调试功能,这些功能可以告诉您样式表正在做什么。
Otherwise, Xalan can optimize away the invocation of the extension function and not call it even once.
否则,Xalan可能会优化掉扩展函数的调用,根本不会调用这个函数。
To use Xalan or Saxon instead, you only need to change the order of the parameters on the command line.
若要改为使用Xalan或Saxon,只需要更改命令行中参数的顺序即可。
In some XSL processors, like Xalan, there are even extension methods written directly into the processor.
在某些XSL处理器中(如xalan),甚至有直接写到处理器中的扩展方法。
If you want to get involved in Xalan's development, try the Xalan-Dev mailing list, found at the same place.
如果您希望参与Xalan开发,请尝试Xalan - Dev邮件列表,可在相同位置找到该列表。
Remember, Xalan always prefers doubles, and it USES the int-accepting method only if it can't find a wider type.
切记,Xalan总是优先选择双精度类型,只有在无法找到范围更大的类型时,它才会使用接受整型的方法。
With the extensions, Xalan developers can provide some additional features without conflicting with the standard.
利用该扩展,Xalan开发人员可以提供一些额外的功能,而不会与标准产生冲突。
I could take the approach Xalan did in its own messages, and display the line and column number within the source document.
我可以采用Xalan在其自己的消息中所采用的方法,并显示源文档内的行号和列号。
If you think you're using Xalan and you're really using something else, then the likely failure will alert you to that fact.
如果您认为自己在使用Xalan而实际上用的是其他处理程序,很可能出现的问题会警告您这一点。
I should note here that this location information isn't always available, depending on where Xalan loaded the stylesheet from.
这里我应当说明的是,该位置信息并非始终都是可用的,这取决于Xalan从哪里装入样式表。
Even when you add the much more correct and robust Xalan 2.7 to your classpath, you might still use the older bundled version.
即使在类路径中添加了更稳定更健壮的Xalan 2.7,使用的可能仍然是较老的捆绑版本。
While researching how to clarify this topic, I began thinking about how XSLT processors (such as Xalan, Saxon, or MSXML) really work.
在寻求如何澄清这一问题时,我开始思考XSLT 处理程序(如Xalan、Saxon或MSXML)到底是如何工作的。
As stated earlier in this article, an FO file is a regular XML file, and you can use any XSLT tool, such as Xalan, to convert from FO to HTML.
正如本文前面所说的那样,FO文件是常规XML文件,您可以用任何XSLT工具(如xalan)将它从fo转换到HTML。
As one of the contributors to Apache's open-source Xalan processor, I've been impressed by the wide range of applications folks are finding for XSLT.
作为Apache的开放源码Xalan处理器的贡献者之一,我对开发人员对XSLT的广泛应用有着深刻的印象。
There are several ways to tell Ant to use a particular version of Xalan - or any other XSLT processor - instead of the default version that comes with Ant.
有很多种方法可以告诉Ant使用特定版本的Xalan——或任何其他XSLT处理器——而不使用Ant附带的默认版本。
The Xalan-J trace options also aren't portable, their output tends to be a bit verbose, and it's hard to see from the messages exactly what part of the output was produced where.
Xalan - J跟踪选项也是不可移植的,它们的输出略显冗长,并且通过消息很难确切地了解某部分输出是从哪里产生的。
Processing the toc.xml file through an XSLT processor, such as Apache Xalan using the above XSLT, yields an HTML file that looks something like Figure 5, when viewed with a browser.
通过一个XSLT处理器,比如apacheXalan,使用前面的XSLT来处理toc . xml文件,生成一个在浏览器中查看时如图5所示的HTML文件。
The command tells the Xalan style sheet engine (used in the tutorial example) to read the file everything.html and then use the rules in xhtml-to-xslfo.xsl style sheet to transform it.
该命令告诉Xalan样式表引擎(在教程示例中使用)去读取文件everything . html,然后使用xhtml - to - xslfo . xsl样式表中的规则来转换它。
The command tells the Xalan style sheet engine (used in the tutorial example) to read the file everything.html and then use the rules in xhtml-to-xslfo.xsl style sheet to transform it.
该命令告诉Xalan样式表引擎(在教程示例中使用)去读取文件everything . html,然后使用xhtml - to - xslfo . xsl样式表中的规则来转换它。
应用推荐