问题描述
我是 jaxp 的新手,不知道使用上述静态字段及其含义?
I am new to jaxp and has no idea of using the above static fields and what they mean ?
需要它的解释和例子.
提前致谢
推荐答案
XSLT 有一个称为禁用输出转义"的特性,它告诉序列化程序将 <a>
输出为 <a>
而它通常会输出 <a>
.这是一种最好避免的 hack,原因有很多,其中一个原因是它需要一个特殊的侧通道,以便转换引擎与串行器进行通信(因此转换器可以告诉串行器打开和关闭).
XSLT has a feature called "disable output escaping" that tells the serializer to output <a>
as <a>
whereas it would normally output <a>
. This is a hack that is best avoided, for many reasons, one of which is that it requires a special side-channel for the transformation engine to communicate with the serializer (so the transformer can tell the serializer to switch doe on and off).
在 JAXP 中,为了允许一个供应商的转换引擎与另一个供应商的序列化器对话,传递这些执行和执行请求的协议就是这对处理指令.
In JAXP, to allow one vendor's transformation engine to talk to another vendor's serializer, the protocol for passing these doe-on and doe-off requests is this pair of processing instructions.
您不需要此功能,您可以放心地忽略它的存在.永远不要幻想仅仅因为有一个功能,如果你不使用它,你一定会错过一些东西.
You don't need this feature and you can safely ignore its existence. Never be tempted to imagine that just because a feature is there, you must be missing something if you never use it.
这篇关于静态字段PI_ENABLE_OUTPUT_ESCAPING有什么用PI_DISABLE_OUTPUT_ESCAPING 以及我们如何使用它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!